Python formatting
This commit is contained in:
parent
68cbea60a9
commit
ea268449fa
|
@ -84,8 +84,7 @@ class PasswordViews(TestCase):
|
||||||
"""there are so many views, this just makes sure it LOADS"""
|
"""there are so many views, this just makes sure it LOADS"""
|
||||||
view = views.PasswordReset.as_view()
|
view = views.PasswordReset.as_view()
|
||||||
code = models.PasswordReset.objects.create(
|
code = models.PasswordReset.objects.create(
|
||||||
user=self.local_user,
|
user=self.local_user, expiry=timezone.now() - timedelta(days=2)
|
||||||
expiry=timezone.now() - timedelta(days=2)
|
|
||||||
)
|
)
|
||||||
request = self.factory.get("")
|
request = self.factory.get("")
|
||||||
request.user = self.anonymous_user
|
request.user = self.anonymous_user
|
||||||
|
|
Loading…
Reference in New Issue