From a48badce030d8bbbf9c00d788de3965b83286799 Mon Sep 17 00:00:00 2001 From: Phillip Ferentinos Date: Thu, 6 Jul 2023 12:49:55 -0500 Subject: [PATCH] test(oauth_flow): fix access_token format in test --- sirius/web/test_oauth_flow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sirius/web/test_oauth_flow.py b/sirius/web/test_oauth_flow.py index ae352fe..b23c958 100644 --- a/sirius/web/test_oauth_flow.py +++ b/sirius/web/test_oauth_flow.py @@ -23,7 +23,7 @@ class TestOAuthFlow(testing.TestCase): def test_oauth_authorized(self): self.assertEqual(login.current_user.is_authenticated, False) twitter.process_authorization( - "token", + {"access_token": "token"}, "/next_url", ) self.assertEqual(login.current_user.username, "test_screen_name") -- 2.47.3