Esempio n. 1
0
def test_support_auth_bad_token():
    support_auth = authentication.support_auth("bad_support_api_key", None)
    assert support_auth is None
Esempio n. 2
0
def test_support_auth_with_valid_hub_token():
    support_auth = authentication.support_auth("fake_hub_api_key", None)
    assert support_auth is None
Esempio n. 3
0
def test_support_auth():
    support_auth = authentication.support_auth("fake_support_api_key", None)
    assert support_auth["value"] is True