Skip to content

Commit 3e67174

Browse files
committed
Updated Globus tests to use async instead of @gen.coroutine
1 parent b86484b commit 3e67174

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

oauthenticator/tests/test_globus.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,10 @@ class User:
6060
name = 'Wash'
6161
state = {'tokens': mock_globus_sdk.by_resource_server}
6262

63-
@gen.coroutine
64-
def get_auth_state(self):
63+
async def get_auth_state(self):
6564
return self.state
6665

67-
@gen.coroutine
68-
def save_auth_state(self, state):
66+
async def save_auth_state(self, state):
6967
self.state = state
7068
return User()
7169

0 commit comments

Comments
 (0)