mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-11 08:43:10 +00:00
Return user object from login method
This commit is contained in:
parent
765f90746a
commit
a8ca4f14da
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ def login(client):
|
|||
|
||||
class WagtailTestCase(TestCase):
|
||||
def login(self):
|
||||
login(self.client)
|
||||
return login(self.client)
|
||||
|
||||
# From: https://github.com/django/django/blob/255449c1ee61c14778658caae8c430fa4d76afd6/django/contrib/auth/tests/test_views.py#L70-L85
|
||||
def assertURLEqual(self, url, expected, parse_qs=False):
|
||||
|
|
|
|||
Loading…
Reference in a new issue