Changeset 9798 for main/waeup.kofa/trunk/src/waeup/kofa/students
- Timestamp:
- 14 Dec 2012, 13:28:49 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_catalog.py
r9736 r9798 155 155 return 156 156 157 def test_search_by_mode(self): 158 # We can find a student in a certain mode 159 cat = queryUtility(ICatalog, name='students_catalog') 160 results = cat.searchResults(current_mode=('ug_ft', 'ug_ft')) 161 results = [x for x in results] # Turn results generator into list 162 assert len(results) == 1 163 assert results[0] is self.app['students'][self.student_id] 164 return 165 166 157 167 class CourseTicketCatalogTests(CatalogTestSetup): 158 168
Note: See TracChangeset for help on using the changeset viewer.