Ignore:
Timestamp:
4 Dec 2011, 13:35:09 (13 years ago)
Author:
uli
Message:

Fix tests.

File:
1 edited

Legend:

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

    r7263 r7265  
    207207    def test_entryExists(self):
    208208        assert self.importer.entryExists(
    209                 dict(container_code='dp2011', application_number='999'),
    210                 self.app) is None
     209            dict(container_code='dp2011', application_number='999'),
     210            self.app) is False
    211211
    212212    def test_getEntry(self):
     
    223223
    224224    def test_delEntry(self):
    225         assert self.application_number in self.app['applicants']['dp2011'].keys()
     225        assert self.application_number in self.app[
     226            'applicants']['dp2011'].keys()
    226227        self.importer.delEntry(
    227228            dict(container_code='dp2011',
    228229                application_number=self.application_number), self.app)
    229         assert self.application_number not in self.app['applicants']['dp2011'].keys()
     230        assert self.application_number not in self.app[
     231            'applicants']['dp2011'].keys()
    230232
    231233    def test_import(self):
Note: See TracChangeset for help on using the changeset viewer.