mirror of https://github.com/django/django.git
Fix broken test introduced by r17526.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17527 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
b9b3e9f0ef
commit
06da2be00f
|
@ -59,5 +59,6 @@ class TokenGeneratorTest(TestCase):
|
|||
p0 = PasswordResetTokenGenerator()
|
||||
|
||||
# This will put a 14-digit base36 timestamp into the token, which is too large.
|
||||
tk1 = p0._make_token_with_timestamp(user, 175455491841851871349)
|
||||
self.assertFalse(p0.check_token(user, tk1))
|
||||
self.assertRaises(ValueError,
|
||||
p0._make_token_with_timestamp,
|
||||
user, 175455491841851871349)
|
||||
|
|
Loading…
Reference in New Issue