Ignore:
Timestamp:
4 Dec 2011, 16:01:15 (13 years ago)
Author:
Henrik Bettermann
Message:

Fix importer semantic also in students (see last comment of Uli).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/students/tests/test_batching.py

    r7263 r7267  
    116116
    117117    def test_parentsExist(self):
    118         assert self.importer.parentsExist(None, dict()) is False
    119         assert self.importer.parentsExist(None, self.app) is True
     118        self.assertFalse(self.importer.parentsExist(None, dict()))
     119        self.assertTrue(self.importer.parentsExist(None, self.app))
    120120
    121121    def test_entryExists(self):
    122         assert self.importer.entryExists(
    123             dict(student_id='ID_NONE'), self.app) is None
     122        self.assertFalse(assert self.importer.entryExists(
     123            dict(student_id='ID_NONE'), self.app))
    124124        student = self.importer.getEntry(
    125125            dict(student_id=self.student.student_id), self.app)
Note: See TracChangeset for help on using the changeset viewer.