fix: format all code with black
and from now on should not deviate from that...
This commit is contained in:
parent
925235f0d3
commit
2107e9ee1d
47 changed files with 5729 additions and 3977 deletions
|
@ -9,12 +9,15 @@ class TestSideshowMenuHandler(WebTestCase):
|
|||
def test_make_menus(self):
|
||||
handler = mod.SideshowMenuHandler(self.config)
|
||||
menus = handler.make_menus(self.request)
|
||||
titles = [menu['title'] for menu in menus]
|
||||
self.assertEqual(titles, [
|
||||
'Orders',
|
||||
'Customers',
|
||||
'Products',
|
||||
'Batches',
|
||||
'Other',
|
||||
'Admin',
|
||||
])
|
||||
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