- Timestamp:
- 28 Jan 2012, 07:45:06 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/tests/test_batching.py
r7522 r7527 200 200 assert len(self.app['students'].keys()) == 4 201 201 self.assertTrue('A123456' in self.app['students'].keys()) 202 self.assertEqual(self.app['students']['A123456'].state,' school fee paid')202 self.assertEqual(self.app['students']['A123456'].state,'clearance started') 203 203 self.assertEqual(self.app['students']['A123456'].date_of_birth, 204 204 datetime.date(1990, 1, 2)) 205 self.assertFalse(self.app['students']['A123456'].clearance_locked) 205 206 self.assertEqual(self.app['students']['B123456'].state,'cleared') 206 207 self.assertEqual(self.app['students']['B123456'].date_of_birth, 207 208 datetime.date(1990, 1, 3)) 209 self.assertTrue(self.app['students']['B123456'].clearance_locked) 208 210 history = ' '.join(self.app['students']['A123456'].history.messages) 209 211 self.assertTrue( 210 "State ' school fee paid' set by system" in history)212 "State 'clearance started' set by system" in history) 211 213 shutil.rmtree(os.path.dirname(fin_file)) 212 214
Note: See TracChangeset for help on using the changeset viewer.