Changeset 5811 for main/waeup.sirp/trunk/src/waeup/sirp/applicants
- Timestamp:
- 7 Mar 2011, 13:18:41 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/tests/test_root.py
r5810 r5811 156 156 return 157 157 158 applicant = Applicant() 158 159 fake_apps = { 159 160 'cest10' : ApplicantsContainer(), … … 161 162 } 162 163 163 fake_apps['cest10']['APP-99999'] = Applicant()164 fake_apps['cest10']['APP-99999'] = applicant 164 165 165 166 class HelperToolsTest(unittest.TestCase): … … 188 189 return 189 190 191 def test_get_applicant_data(self): 192 result = get_applicant_data('APP-99999') 193 assert result is applicant 194 return 195 196 def test_get_applicant_data_none(self): 197 result = get_applicant_data('NOT-EXISTIING') 198 assert result is None 199 return 190 200 191 201 def suite():
Note: See TracChangeset for help on using the changeset viewer.