We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9bc2aa commit e4c4086Copy full SHA for e4c4086
oauth2_provider/tests/test_models.py
@@ -143,7 +143,7 @@ def test_str(self):
143
def test_expires_can_be_none(self):
144
grant = Grant(code="test_code")
145
self.assertIsNone(grant.expires)
146
- self.assertFalse(grant.is_expired())
+ self.assertTrue(grant.is_expired())
147
148
149
class TestAccessTokenModel(TestCase):
@@ -168,7 +168,7 @@ def test_user_can_be_none(self):
168
169
access_token = AccessToken(token="test_token")
170
self.assertIsNone(access_token.expires)
171
- self.assertFalse(access_token.is_expired())
+ self.assertTrue(access_token.is_expired())
172
173
174
class TestRefreshTokenModel(TestCase):
0 commit comments