fix: show installed python packages on appinfo page
This commit is contained in:
parent
3665d69e0c
commit
d15ac46184
6 changed files with 116 additions and 4 deletions
|
@ -424,7 +424,10 @@ class TestMasterView(WebTestCase):
|
|||
url_prefix='/appinfo',
|
||||
creatable=False):
|
||||
view = master.MasterView(self.request)
|
||||
response = view.render_to_response('index', {})
|
||||
response = view.render_to_response('index', {
|
||||
# nb. grid is required for this template
|
||||
'grid': MagicMock(),
|
||||
})
|
||||
self.assertIsInstance(response, Response)
|
||||
|
||||
# bad template name causes error
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue