test: fix some tests

This commit is contained in:
Lance Edgar 2024-08-22 14:57:39 -05:00
parent 8d5427e92f
commit f292850d05
2 changed files with 2 additions and 2 deletions

View file

@ -135,7 +135,7 @@ class TestGrid(WebTestCase):
def test_set_label(self):
model = self.app.model
grid = self.make_grid(model_class=model.Setting)
grid = self.make_grid(model_class=model.Setting, filterable=True)
self.assertEqual(grid.labels, {})
# basic

View file

@ -38,7 +38,7 @@ class TestPersonView(WebTestCase):
def test_configure_form(self):
model = self.app.model
barney = model.User(username='barney')
barney = model.Person(display_name="Barney Rubble")
self.session.add(barney)
self.session.commit()
view = self.make_view()