Exemple #1
0
def test_payment_auth_with_valid_hub_token():
    payments_auth = authentication.payment_auth("fake_hub_api_key", None)
    assert payments_auth is None
Exemple #2
0
def test_payment_auth():
    payments_auth = authentication.payment_auth("fake_payment_api_key", None)
    assert payments_auth["value"] is True
Exemple #3
0
def test_payment_auth_bad_token():
    payments_auth = authentication.payment_auth("bad_payment_api_key", None)
    assert payments_auth is None