Changeset 14525 for main/waeup.kofa/trunk/src/waeup
- Timestamp:
- 9 Feb 2017, 11:57:48 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/browser/tests/test_permissions.py
r12900 r14525 179 179 self.browser.open('http://localhost/app/reports') 180 180 self.assertTrue( 181 'Student Statistics (depcode, 2004, All, 0)'181 'Student Statistics (depcode, 0, All, 2004)' 182 182 in self.browser.contents) 183 183 self.browser.open('http://localhost/app/logout') … … 193 193 # Manager can see both reports. 194 194 self.assertTrue( 195 'Student Statistics (depcode, 2004, All, 0)'196 in self.browser.contents) 197 self.assertTrue( 198 'Student Statistics (depcode, 2005, All, 0)'195 'Student Statistics (depcode, 0, All, 2004)' 196 in self.browser.contents) 197 self.assertTrue( 198 'Student Statistics (depcode, 0, All, 2005)' 199 199 in self.browser.contents) 200 200 self.browser.open('http://localhost/app/logout') … … 206 206 # Officer can only see his report. 207 207 self.assertTrue( 208 'Student Statistics (depcode, 2004, All, 0)'208 'Student Statistics (depcode, 0, All, 2004)' 209 209 in self.browser.contents) 210 210 self.assertFalse( 211 'Student Statistics (depcode, 2005, All, 0)'212 in self.browser.contents) 213 return 211 'Student Statistics (depcode, 0, All, 2005)' 212 in self.browser.contents) 213 return
Note: See TracChangeset for help on using the changeset viewer.