fix: add "Other" menu, for e.g. integration system links
This commit is contained in:
parent
811a37995d
commit
f4fdba1bbb
2 changed files with 20 additions and 1 deletions
|
@ -9,4 +9,12 @@ class TestSideshowMenuHandler(WebTestCase):
|
|||
def test_make_menus(self):
|
||||
handler = mod.SideshowMenuHandler(self.config)
|
||||
menus = handler.make_menus(self.request)
|
||||
self.assertEqual(len(menus), 5)
|
||||
titles = [menu['title'] for menu in menus]
|
||||
self.assertEqual(titles, [
|
||||
'Orders',
|
||||
'Customers',
|
||||
'Products',
|
||||
'Batches',
|
||||
'Other',
|
||||
'Admin',
|
||||
])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue