The waeup_ng package

A portal software for student registration.

Universities

University objects are the base of all functionality provided by this package. They contain all facilities of a university.

We can easily create universities:

>>> from waeup_ng.app import University
>>> u = University()
>>> u
<waeup_ng.app.University object at 0x...>

We can call views also in unit tests. University objects provide two views: the default view and an edit view:

>>> import grok
>>> from zope.publisher.interfaces.browser import IBrowserPublisher
>>>
>>> grok.grok('waeup_ng.app')
>>> from zope.component import getMultiAdapter
>>> req = None
>>> #getMultiAdapter((u,req), IBrowserPublisher, name='index')