2025-01-06 17:03:41 -06:00
|
|
|
# -*- 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)
|
2025-01-09 12:13:58 -06:00
|
|
|
self.assertEqual(len(menus), 5)
|