2
0
Fork 0
wuttaweb/tests/utils.py

12 lines
218 B
Python
Raw Normal View History

# -*- coding: utf-8; -*-
from wuttaweb.menus import MenuHandler
class NullMenuHandler(MenuHandler):
"""
Dummy menu handler for testing.
"""
def make_menus(self, request, **kwargs):
return []