Changeset 9271 for main/waeup.kofa/trunk/src/waeup/kofa/accesscodes/tests
- Timestamp:
- 2 Oct 2012, 11:14:59 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/accesscodes/tests/test_batching.py
r9267 r9271 144 144 self.app['accesscodes']['HOS-1']['HOS-1-98769876'].state, 'used') 145 145 self.assertEqual( 146 self.app['accesscodes']['HOS-1']['HOS-1-76254765'].state, 'initialized') 147 self.assertEqual( 148 self.app['accesscodes']['CLR-1']['CLR-1-1625368961'].batch_serial, 33) 149 self.assertEqual( 150 self.app['accesscodes']['CLR-1']['CLR-1-1625368961'].random_num, '1625368961') 146 self.app['accesscodes']['HOS-1']['HOS-1-76254765'].state, 147 'initialized') 148 self.assertEqual( 149 self.app['accesscodes']['CLR-1']['CLR-1-1625368961'].batch_serial, 150 33) 151 self.assertEqual( 152 self.app['accesscodes']['CLR-1']['CLR-1-1625368961'].random_num, 153 '1625368961') 151 154 self.assertEqual( 152 155 self.app['accesscodes']['CLR-1']['CLR-1-1625368961'].state, 'used') … … 192 195 self.assertEqual(num_warns,0) 193 196 self.assertEqual( 194 self.app['accesscodes']['HOS-1']['HOS-1-98769876'].state, 'disabled') 195 self.assertEqual( 196 self.app['accesscodes']['CLR-1']['CLR-1-1625368961'].state, 'disabled') 197 self.app['accesscodes']['HOS-1']['HOS-1-98769876'].state, 198 'disabled') 199 self.assertEqual( 200 self.app['accesscodes']['CLR-1']['CLR-1-1625368961'].state, 201 'disabled') 197 202 self.assertMatches( 198 203 self.app['accesscodes']['CLR-1']['CLR-1-1625368961'].history,
Note: See TracChangeset for help on using the changeset viewer.