Changeset 9647 for main/waeup.kofa/trunk/src/waeup/kofa/tests
- Timestamp:
- 16 Nov 2012, 21:43:29 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/tests/test_reports.py
r9645 r9647 218 218 self.assertEqual( 219 219 job.description, 220 "Report 1 ('a', 'b', a=1, b=2)")220 "Report 1 ('a', 'b', 1, 2)") 221 221 # w/o args nor kwargs 222 222 job = AsyncReportJob(self.root_folder, 'report1') … … 231 231 job = AsyncReportJob(self.root_folder, 'report1', kw=kw) 232 232 self.assertEqual( 233 job.description, "Report 1 ( a=1, b=2)")233 job.description, "Report 1 (1, 2)") 234 234 return 235 235 … … 248 248 self.root_folder, 'NOT_EXISTENT', kw=dict(a=1, b=2)) 249 249 self.assertEqual( 250 job.description, u'Unregistered Report Generator ( a=1, b=2)')250 job.description, u'Unregistered Report Generator (1, 2)') 251 251 # with args and kws set 252 252 job = AsyncReportJob( 253 253 self.root_folder, 'NOT_EXISTENT', args=['a'], kw=dict(b=2)) 254 254 self.assertEqual( 255 job.description, u"Unregistered Report Generator ('a', b=2)")255 job.description, u"Unregistered Report Generator ('a', 2)") 256 256 return 257 257
Note: See TracChangeset for help on using the changeset viewer.