Changeset 7267 for main/waeup.sirp/trunk/src/waeup/sirp/students/tests
- Timestamp:
- 4 Dec 2011, 16:01:15 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/tests/test_batching.py
r7263 r7267 116 116 117 117 def test_parentsExist(self): 118 assert self.importer.parentsExist(None, dict()) is False119 assert self.importer.parentsExist(None, self.app) is True118 self.assertFalse(self.importer.parentsExist(None, dict())) 119 self.assertTrue(self.importer.parentsExist(None, self.app)) 120 120 121 121 def test_entryExists(self): 122 assert self.importer.entryExists(123 dict(student_id='ID_NONE'), self.app) is None122 self.assertFalse(assert self.importer.entryExists( 123 dict(student_id='ID_NONE'), self.app)) 124 124 student = self.importer.getEntry( 125 125 dict(student_id=self.student.student_id), self.app)
Note: See TracChangeset for help on using the changeset viewer.