Add product-area presentation to Views
This commit is contained in:
@@ -26,7 +26,7 @@ class ViewsMigrationTests(unittest.TestCase):
|
||||
try:
|
||||
with engine.connect() as connection:
|
||||
self.assertIn(
|
||||
"b8e4c1f7a2d9",
|
||||
"c6f2a9d4e7b1",
|
||||
set(MigrationContext.configure(connection).get_current_heads()),
|
||||
)
|
||||
self.assertEqual(
|
||||
@@ -42,6 +42,15 @@ class ViewsMigrationTests(unittest.TestCase):
|
||||
if name.startswith("view_")
|
||||
},
|
||||
)
|
||||
self.assertIn(
|
||||
"presentation",
|
||||
{
|
||||
column["name"]
|
||||
for column in inspect(connection).get_columns(
|
||||
"view_revisions"
|
||||
)
|
||||
},
|
||||
)
|
||||
finally:
|
||||
engine.dispose()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user