Changeset 8351 for main/waeup.kofa/trunk/src/waeup/kofa/students
- Timestamp:
- 4 May 2012, 22:52:53 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_authentication.py
r7811 r8351 121 121 # we do not store plaintext passwords 122 122 self.assertTrue(self.fake_stud.password != 'secret') 123 # passwords are stored as unicode 124 self.assertTrue(isinstance(self.fake_stud.password, unicode)) 123 # passwords are stored as bytestreams 124 self.assertTrue(isinstance(self.fake_stud.password, basestring)) 125 self.assertFalse(isinstance(self.fake_stud.password, unicode)) 125 126 return 126 127
Note: See TracChangeset for help on using the changeset viewer.