mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-10 10:00:58 +00:00
Test that the deprecated is_abstract=True flag is equivalent to is_creatable=False
This commit is contained in:
parent
e87cecdcaf
commit
c3beacacf0
1 changed files with 3 additions and 0 deletions
|
|
@ -779,3 +779,6 @@ class TestIsCreatable(TestCase):
|
|||
self.assertEqual(len(ws), 1)
|
||||
warning = ws[0]
|
||||
self.assertIn("is_creatable", text_type(warning.message))
|
||||
|
||||
self.assertFalse(AbstractPage.is_creatable)
|
||||
self.assertNotIn(AbstractPage, PAGE_MODEL_CLASSES)
|
||||
|
|
|
|||
Loading…
Reference in a new issue