- Timestamp:
- 17 Nov 2012, 10:37:17 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/tests/test_reports.py
r9658 r9660 218 218 self.assertEqual( 219 219 job.description, 220 "Report 1 ('a', 'b', 1,2)")220 "Report 1 ('a', 'b', a = 1, b = 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 ( 1,2)")233 job.description, "Report 1 (a = 1, b = 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 ( 1,2)')250 job.description, u'Unregistered Report Generator (a = 1, b = 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', 2)")255 job.description, u"Unregistered Report Generator ('a', b = 2)") 256 256 return 257 257
Note: See TracChangeset for help on using the changeset viewer.