13 lines
327 B
Python
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), 4)
|