Ignore:
Timestamp:
20 May 2012, 09:57:09 (12 years ago)
Author:
Henrik Bettermann
Message:

Add property is_postgrad.

Add invariant constraint to ICertificate.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py

    r8471 r8472  
    18371837        self.assertFalse('Employer' in self.browser.contents)
    18381838        # Now we change the study mode of the certificate and a different
    1839         # interface is used by clearance views
     1839        # interface is used by clearance views.
    18401840        self.certificate.study_mode = 'pg_ft'
     1841        # Invariants are not being checked here?!
     1842        self.certificate.end_level = 100
    18411843        self.browser.open(self.clearance_path)
    18421844        self.assertTrue('Employer' in self.browser.contents)
Note: See TracChangeset for help on using the changeset viewer.