- Timestamp:
- 11 Feb 2015, 10:12:15 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_move.py
r10634 r12590 51 51 assert results[0] is self.certificate 52 52 53 # Also certcourses_catalog has been updated 54 cat = queryUtility(ICatalog, name='certcourses_catalog') 55 results = cat.searchResults(course_code=('COURSE1','COURSE1')) 56 results = [x for x in results] # Turn results generator into list 57 assert len(results) == 1 58 assert results[0] is self.app['faculties']['fac1'][ 59 'dep2'].certificates['CERT1']['COURSE1_100'] 60 53 61 # We can find the student studying in the new department 54 62 cat = queryUtility(ICatalog, name='students_catalog')
Note: See TracChangeset for help on using the changeset viewer.