Changeset 5726 for main/waeup.sirp/trunk
- Timestamp:
- 12 Feb 2011, 13:17:12 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/jambtables/tests/test_batching.py
r5689 r5726 33 33 self.importer = ApplicantImporter() 34 34 self.site1 = dict( 35 applications= {35 jambdata = { 36 36 'REG_NO_1': 'Application1', 37 37 } … … 59 59 def test_getParent(self): 60 60 parent = self.importer.getParent(None, self.site1) 61 assert parent is self.site1[' applications']61 assert parent is self.site1['jambdata'] 62 62 63 63 def test_getEntry(self): … … 70 70 self.importer.addEntry( 71 71 'New application', dict(reg_no='REG_NO_99'), self.site1) 72 assert self.site1[' applications']['REG_NO_99'] == 'New application'72 assert self.site1['jambdata']['REG_NO_99'] == 'New application' 73 73 74 74 def test_delEntry(self): 75 75 self.importer.delEntry(dict(reg_no='REG_NO_1'), self.site1) 76 assert 'REG_NO_1' not in self.site1[' applications'].keys()76 assert 'REG_NO_1' not in self.site1['jambdata'].keys() 77 77 78 78 def test_suite():
Note: See TracChangeset for help on using the changeset viewer.