def test_support_auth_bad_token(): support_auth = authentication.support_auth("bad_support_api_key", None) assert support_auth is None
def test_support_auth_with_valid_hub_token(): support_auth = authentication.support_auth("fake_hub_api_key", None) assert support_auth is None
def test_support_auth(): support_auth = authentication.support_auth("fake_support_api_key", None) assert support_auth["value"] is True