]> git.aero2k.de Git - sirius.git/commitdiff
test(oauth_flow): fix access_token format in test
authorPhillip Ferentinos <phillipjf@users.noreply.github.com>
Thu, 6 Jul 2023 17:49:55 +0000 (12:49 -0500)
committerPhillip Ferentinos <phillipjf@users.noreply.github.com>
Thu, 6 Jul 2023 17:49:55 +0000 (12:49 -0500)
sirius/web/test_oauth_flow.py

index ae352febaabfdeb84277ea6de65c1cd43eee876a..b23c958facce459f72f5d94c0396ac6baac863e0 100644 (file)
@@ -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")