Changeset 9827 for main/waeup.kofa/trunk
- Timestamp:
- 5 Jan 2013, 17:02:17 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/browser/tests/test_browser.py
r9822 r9827 320 320 321 321 def test_remove_course(self): 322 # A certificate course will be automatically removed when 322 # We add a second certificate course which refers 323 # to the same course but at a different level. 324 self.app['faculties']['fac1']['dep1'].certificates['CERT1'].addCertCourse( 325 self.course, level=210) 326 # Both certificate courses will be automatically removed when 323 327 # the corresponding course is removed. 324 328 self.browser.addHeader('Authorization', 'Basic mgr:mgrpw') 325 329 self.assertTrue('COURSE1_100' in self.app[ 330 'faculties']['fac1']['dep1'].certificates['CERT1']) 331 self.assertTrue('COURSE1_210' in self.app[ 326 332 'faculties']['fac1']['dep1'].certificates['CERT1']) 327 333 self.browser.open('http://localhost/app/faculties/fac1/dep1/manage') … … 331 337 self.assertFalse('COURSE1_100' in self.app[ 332 338 'faculties']['fac1']['dep1'].certificates['CERT1']) 333 return 339 self.assertFalse('COURSE1_210' in self.app[ 340 'faculties']['fac1']['dep1'].certificates['CERT1']) 341 return
Note: See TracChangeset for help on using the changeset viewer.