3
0
Fork 0

feat: add initial support for proper grid filters

only "text contains" filter supported so far, more to come as needed
This commit is contained in:
Lance Edgar 2024-08-22 13:50:29 -05:00
parent 9751bf4c2e
commit 1443f5253f
12 changed files with 1060 additions and 223 deletions

View file

@ -761,6 +761,12 @@ class TestMasterView(WebTestCase):
self.assertEqual(response.status_code, 200)
self.assertEqual(response.content_type, 'application/json')
# redirects when view is reset
self.request.GET = {'reset-view': '1', 'hash': 'foo'}
with patch.object(self.request, 'current_route_url'):
response = view.index()
self.assertEqual(response.status_code, 302)
def test_create(self):
self.pyramid_config.include('wuttaweb.views.common')
self.pyramid_config.include('wuttaweb.views.auth')