mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-14 03:50:59 +00:00
Fix a use of assertEqual
This commit is contained in:
parent
c9137d1dc0
commit
65296c018d
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ class TestValidation(TestCase):
|
|||
|
||||
def test_get_admin_display_title(self):
|
||||
homepage = Page.objects.get(url_path='/home/')
|
||||
self.assertEquals(homepage.title, homepage.get_admin_display_title())
|
||||
self.assertEqual(homepage.title, homepage.get_admin_display_title())
|
||||
|
||||
|
||||
@override_settings(ALLOWED_HOSTS=['localhost', 'events.example.com', 'about.example.com', 'unknown.site.com'])
|
||||
|
|
|
|||
Loading…
Reference in a new issue