kopia lustrzana https://github.com/wagtail/wagtail
Fixed an issue with issue 7 unit test
rodzic
2463152d4c
commit
e681e3aeee
|
@ -625,5 +625,8 @@ class TestIssue7(TestCase):
|
|||
# Move new homepage to root
|
||||
new_homepage.move(root_page, pos='last-child')
|
||||
|
||||
# Get fresh instance of new_homepage
|
||||
new_homepage = Page.objects.get(id=new_homepage.id)
|
||||
|
||||
# Check url
|
||||
self.assertEqual(new_homepage.url, '/')
|
||||
|
|
Ładowanie…
Reference in New Issue