From: Phillip Ferentinos Date: Thu, 6 Jul 2023 17:49:55 +0000 (-0500) Subject: test(oauth_flow): fix access_token format in test X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=a48badce030d8bbbf9c00d788de3965b83286799;p=sirius.git test(oauth_flow): fix access_token format in test --- 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")