Exemplo n.º 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
Exemplo n.º 2
0
def test_payment_auth():
    payments_auth = authentication.payment_auth("fake_payment_api_key", None)
    assert payments_auth["value"] is True
Exemplo n.º 3
0
def test_payment_auth_bad_token():
    payments_auth = authentication.payment_auth("bad_payment_api_key", None)
    assert payments_auth is None