From c66ad09dbc8fed2c592fba8ba1fa5a95d4f8009d Mon Sep 17 00:00:00 2001 From: Christie Rice <8483753+crice100@users.noreply.github.com> Date: Wed, 5 Jun 2019 15:48:47 -0400 Subject: [PATCH] REVMI-234 Remove flaky test (#20752) --- openedx/core/djangoapps/oauth_dispatch/tests/test_jwt.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/openedx/core/djangoapps/oauth_dispatch/tests/test_jwt.py b/openedx/core/djangoapps/oauth_dispatch/tests/test_jwt.py index 9cf6982ea2..20a1f882f4 100644 --- a/openedx/core/djangoapps/oauth_dispatch/tests/test_jwt.py +++ b/openedx/core/djangoapps/oauth_dispatch/tests/test_jwt.py @@ -103,14 +103,6 @@ class TestCreateJWTs(AccessTokenMixin, TestCase): self.assertEqual(user_email_verified, token_payload['email_verified']) self.assertEqual(token_payload['roles'], mock_create_roles.return_value) - def test_default_scopes(self): - """ - Ensure the default scopes are used. - """ - jwt = jwt_api.create_jwt_for_user(self.user) - jwt_scopes = jwt_api.create_jwt_for_user(self.user, scopes=self.default_scopes) - self.assertEqual(jwt, jwt_scopes) - def test_scopes(self): """ Ensure the requested scopes are used.