def run_list(): email, token = get_auth_email_token() client = KentikAPI(email, token) apps = client.custom_applications.get_all() for a in apps: print(a.__dict__)
def client(connector): with mock.patch("kentik_api.kentik_api.new_connector", return_value=connector): return KentikAPI("*****@*****.**", "api-test-token")