Changeset 8194 for main/waeup.kofa/trunk/src/waeup/kofa/students/tests
- Timestamp:
- 17 Apr 2012, 11:40:06 (13 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/students/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r8182 r8194 121 121 # Create 5 access codes with prefix'PWD' 122 122 pin_container = self.app['accesscodes'] 123 tz = getUtility(IKofaUtils).tzinfo124 123 pin_container.createBatch( 125 datetime. now(tz), 'some_userid', 'PWD', 9.99, 5)124 datetime.utcnow(), 'some_userid', 'PWD', 9.99, 5) 126 125 pins = pin_container['PWD-1'].values() 127 126 self.pwdpins = [x.representation for x in pins] -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_student.py
r8181 r8194 80 80 def test_booking_date(self): 81 81 isinstance(self.bedticket.booking_date.tzinfo, tzinfo) 82 self.assertEqual(s tr(self.bedticket.booking_date.tzinfo), 'UTC')82 self.assertEqual(self.bedticket.booking_date.tzinfo, None) 83 83 return 84 84
Note: See TracChangeset for help on using the changeset viewer.