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