Changeset 13216 for main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests
- Timestamp:
- 24 Aug 2015, 05:56:39 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_applicant.py
r13213 r13216 191 191 return 192 192 193 def test_record_used(self): 194 self.applicant.password is None 195 self.applicant.firstname is None 196 self.applicant.lastname is None 197 self.applicant.email is None 198 self.applicant.record_used is False 199 self.applicant.firstname is 'Anna' 200 self.applicant.record_used is True 193 def test_container_code(self): 194 fake_container = grok.Container() 195 fake_container.__name__ = 'folder' 196 fake_container.code = 'folder' 197 appl = Applicant() 198 appl.password is None 199 appl.firstname is None 200 appl.lastname is None 201 appl.email is None 202 appl.container_code is 'folder-' 203 appl.firstname is 'Anna' 204 appl.container_code is 'folder+' 205 return 201 206 202 207 class ApplicantFactoryTest(FunctionalTestCase):
Note: See TracChangeset for help on using the changeset viewer.