Changeset 9660 for main


Ignore:
Timestamp:
17 Nov 2012, 10:37:17 (12 years ago)
Author:
uli
Message:

Update tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/tests/test_reports.py

    r9658 r9660  
    218218        self.assertEqual(
    219219            job.description,
    220             "Report 1 ('a', 'b', 1, 2)")
     220            "Report 1 ('a', 'b', a = 1, b = 2)")
    221221        # w/o args nor kwargs
    222222        job = AsyncReportJob(self.root_folder, 'report1')
     
    231231        job = AsyncReportJob(self.root_folder, 'report1', kw=kw)
    232232        self.assertEqual(
    233             job.description, "Report 1 (1, 2)")
     233            job.description, "Report 1 (a = 1, b = 2)")
    234234        return
    235235
     
    248248            self.root_folder, 'NOT_EXISTENT', kw=dict(a=1, b=2))
    249249        self.assertEqual(
    250             job.description, u'Unregistered Report Generator (1, 2)')
     250            job.description, u'Unregistered Report Generator (a = 1, b = 2)')
    251251        # with args and kws set
    252252        job = AsyncReportJob(
    253253            self.root_folder, 'NOT_EXISTENT', args=['a'], kw=dict(b=2))
    254254        self.assertEqual(
    255             job.description, u"Unregistered Report Generator ('a', 2)")
     255            job.description, u"Unregistered Report Generator ('a', b = 2)")
    256256        return
    257257
Note: See TracChangeset for help on using the changeset viewer.