fix: expose default grid pagesize in appinfo config
This commit is contained in:
parent
7cfe6e15f4
commit
cc52c708db
3 changed files with 29 additions and 0 deletions
|
|
@ -1785,6 +1785,8 @@ class TestMasterView(WebTestCase):
|
|||
kw = original_context(**kw)
|
||||
kw["menu_handlers"] = []
|
||||
kw["default_timezone"] = "UTC"
|
||||
kw["grid_pagesize_options"] = [10, 20, 50]
|
||||
kw["grid_pagesize_default"] = 20
|
||||
return kw
|
||||
|
||||
with patch.object(view, "configure_get_context", new=get_context):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue