sideshow/tests/web/test_menus.py
Lance Edgar a4ad23c7fa feat: add basic support for local customer, product lookups
also convert pending to local (where relevant) when executing batch
2025-01-09 12:13:58 -06:00

13 lines
327 B
Python

# -*- coding: utf-8; -*-
from sideshow.testing import WebTestCase
from sideshow.web import menus as mod
class TestSideshowMenuHandler(WebTestCase):
def test_make_menus(self):
handler = mod.SideshowMenuHandler(self.config)
menus = handler.make_menus(self.request)
self.assertEqual(len(menus), 5)