mirror of
https://github.com/wagtail/wagtail.git
synced 2024-12-01 11:41:20 +01:00
fixed tests broken by new abstract class 'indicator'
This commit is contained in:
parent
48cd39f740
commit
61d54f5d4f
@ -204,7 +204,7 @@ class TestPrivacyIndicators(TestCase, WagtailTestUtils):
|
|||||||
self.assertEqual(response.status_code, 200)
|
self.assertEqual(response.status_code, 200)
|
||||||
|
|
||||||
# Must have one privacy icon (next to the private page)
|
# Must have one privacy icon (next to the private page)
|
||||||
self.assertContains(response, "<span class=\"privacy-indicator icon icon-no-view\"", count=1)
|
self.assertContains(response, "<span class=\"indicator privacy-indicator icon icon-no-view\"", count=1)
|
||||||
|
|
||||||
def test_explorer_list_private(self):
|
def test_explorer_list_private(self):
|
||||||
"""
|
"""
|
||||||
@ -216,7 +216,7 @@ class TestPrivacyIndicators(TestCase, WagtailTestUtils):
|
|||||||
self.assertEqual(response.status_code, 200)
|
self.assertEqual(response.status_code, 200)
|
||||||
|
|
||||||
# Must have one privacy icon (next to the private child page)
|
# Must have one privacy icon (next to the private child page)
|
||||||
self.assertContains(response, "<span class=\"privacy-indicator icon icon-no-view\"", count=1)
|
self.assertContains(response, "<span class=\"indicator privacy-indicator icon icon-no-view\"", count=1)
|
||||||
|
|
||||||
def test_edit_public(self):
|
def test_edit_public(self):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user