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:
parent
6791abe96f
commit
3e7aa1fa0b
15 changed files with 1151 additions and 8 deletions
|
|
@ -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"}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue