basic setup for menu.py and unit testing

git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@543 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
helmutm 2005-08-13 17:28:12 +00:00
parent 06a9137517
commit 5e06995598
2 changed files with 3 additions and 2 deletions

View file

@ -1,9 +1,10 @@
Creating and Rendering Menus
============================
We first set up a test environment:
We first set up a test and working environment:
>>> from zope.app.testing import ztapi
>>> from cybertools.menu import Menu
Create a menu:

View file

@ -28,7 +28,7 @@ from zope.app.container.interfaces import IOrderedContainer
from zope.schema import Text, TextLine, List, Object, Int
class IMenu(Interface):
class IMenu(IOrderedContainer):
""" A Menu.
"""