From 3e6717434c914a076b9321c03f046fa9f8106dc1 Mon Sep 17 00:00:00 2001 From: "Nickolaus D. Saint" Date: Wed, 30 Oct 2019 13:33:38 -0700 Subject: [PATCH] Updated Globus tests to use async instead of @gen.coroutine --- oauthenticator/tests/test_globus.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/oauthenticator/tests/test_globus.py b/oauthenticator/tests/test_globus.py index 9ec28074..c6a578eb 100644 --- a/oauthenticator/tests/test_globus.py +++ b/oauthenticator/tests/test_globus.py @@ -60,12 +60,10 @@ class User: name = 'Wash' state = {'tokens': mock_globus_sdk.by_resource_server} - @gen.coroutine - def get_auth_state(self): + async def get_auth_state(self): return self.state - @gen.coroutine - def save_auth_state(self, state): + async def save_auth_state(self, state): self.state = state return User()