Fixed an issue with issue 7 unit test

pull/227/head
Karl Hobley 2014-05-02 11:13:18 +01:00
rodzic 2463152d4c
commit e681e3aeee
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -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, '/')