Changeset 6431 for main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/tests
- Timestamp:
- 20 Jun 2011, 16:42:44 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/tests/test_catalog.py
r6430 r6431 25 25 from zope.app.testing.functional import ( 26 26 FunctionalTestCase, FunctionalTestSetup, getRootFolder) 27 from zope.catalog.interfaces import ICatalog 28 from zope.component import queryUtility 27 29 from zope.component.hooks import setSite, clearSite 28 30 from waeup.sirp.app import University … … 68 70 return 69 71 70 def test_blah(self): 71 assert 1 == 0 72 def test_get_catalog(self): 73 # We can get an accesscodes catalog if we wish 74 cat = queryUtility(ICatalog, name='accesscodes_catalog') 75 assert cat is not None
Note: See TracChangeset for help on using the changeset viewer.