3
0
Fork 0

feat: add basic views for Alembic Migrations, Dashboard

can see all "known" migration revisions (per alembic config), and
migrate the DB arbitrarily via alembic upgrade/downgrade
This commit is contained in:
Lance Edgar 2025-12-22 17:35:07 -06:00
parent 6791abe96f
commit 3e7aa1fa0b
15 changed files with 1151 additions and 8 deletions

View file

@ -25,7 +25,6 @@ class TestUpgradeView(WebTestCase):
self.assertIn("schema", table)
def test_configure_grid(self):
model = self.app.model
view = self.make_view()
# sanity / coverage check
@ -33,7 +32,6 @@ class TestUpgradeView(WebTestCase):
view.configure_grid(grid)
def test_get_instance(self):
model = self.app.model
view = self.make_view()
with patch.object(self.request, "matchdict", new={"name": "person"}):
@ -49,7 +47,6 @@ class TestUpgradeView(WebTestCase):
self.assertEqual(table2["name"], "person")
def test_get_instance_title(self):
model = self.app.model
view = self.make_view()
table = {"name": "poser_foo"}