Changeset 15578 for main/waeup.kofa/trunk/src/waeup/kofa
- Timestamp:
- 3 Sep 2019, 12:07:02 (5 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/applicants
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py
r15548 r15578 1365 1365 ob_class, applicant.applicant_id)) 1366 1366 self.applyData(applicant, **data) 1367 applicant.reg_number = applicant.applicant_id1367 # applicant.reg_number = applicant.applicant_id 1368 1368 notify(grok.ObjectModifiedEvent(applicant)) 1369 1369 elif self.context.mode == 'update': -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py
r15548 r15578 1314 1314 self.assertEqual(applicant.lastname,'Kurios') 1315 1315 # The application_id has been copied to the reg_number 1316 self.assertEqual(applicant.applicant_id, applicant.reg_number)1316 #self.assertEqual(applicant.applicant_id, applicant.reg_number) 1317 1317 # The applicant can be found in the catalog via the reg_number 1318 results = list(1319 cat.searchResults(1320 reg_number=(applicant.reg_number, applicant.reg_number)))1321 self.assertEqual(applicant,results[0])1318 #results = list( 1319 # cat.searchResults( 1320 # reg_number=(applicant.reg_number, applicant.reg_number))) 1321 #self.assertEqual(applicant,results[0]) 1322 1322 return 1323 1323
Note: See TracChangeset for help on using the changeset viewer.