- Timestamp:
- 24 Feb 2013, 18:36:29 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.fceokene/trunk/src/waeup/fceokene/students/tests/test_browser.py
r9953 r9998 342 342 # Bed is randomly selected but, since there is only 343 343 # one bed for this student, we know that 344 self.assertMatches('...Hall 1, Block A, Room 101, Bed A...', 345 self.browser.contents) 346 return 344 self.assertEqual(self.student['accommodation']['2004'].bed_coordinates, 345 'Hall 1, Block A, Room 101, Bed A (regular_male_fr)') 346 self.assertEqual(self.student['accommodation']['2004'].display_coordinates, 347 '(see payment slip)') 348 # But the bed coordinates are hidden. 349 self.assertFalse('Hall 1, Block A, Room 101, Bed A' 350 in self.browser.contents) 351 self.assertTrue('<td>(see payment slip)</td>' 352 in self.browser.contents) 353 return
Note: See TracChangeset for help on using the changeset viewer.