mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-11 18:40:59 +00:00
Fixed broken test
Caused by adding view into RouteResult
This commit is contained in:
parent
023579dc6b
commit
911ba9ec06
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ class TestRouting(TestCase):
|
|||
|
||||
request = HttpRequest()
|
||||
request.path = '/events/christmas/'
|
||||
(found_page, args, kwargs) = homepage.route(request, ['events', 'christmas'])
|
||||
(found_page, view, args, kwargs) = homepage.route(request, ['events', 'christmas'])
|
||||
self.assertEqual(found_page, christmas_page)
|
||||
|
||||
def test_request_serving(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue