Changeset 14525 for main


Ignore:
Timestamp:
9 Feb 2017, 11:57:48 (8 years ago)
Author:
Henrik Bettermann
Message:

Fix test.

File:
1 edited

Legend:

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

    r12900 r14525  
    179179        self.browser.open('http://localhost/app/reports')
    180180        self.assertTrue(
    181             'Student Statistics (depcode, 2004, All, 0)'
     181            'Student Statistics (depcode, 0, All, 2004)'
    182182            in self.browser.contents)
    183183        self.browser.open('http://localhost/app/logout')
     
    193193        # Manager can see both reports.
    194194        self.assertTrue(
    195             'Student Statistics (depcode, 2004, All, 0)'
    196             in self.browser.contents)
    197         self.assertTrue(
    198             'Student Statistics (depcode, 2005, All, 0)'
     195            'Student Statistics (depcode, 0, All, 2004)'
     196            in self.browser.contents)
     197        self.assertTrue(
     198            'Student Statistics (depcode, 0, All, 2005)'
    199199            in self.browser.contents)
    200200        self.browser.open('http://localhost/app/logout')
     
    206206        # Officer can only see his report.
    207207        self.assertTrue(
    208             'Student Statistics (depcode, 2004, All, 0)'
     208            'Student Statistics (depcode, 0, All, 2004)'
    209209            in self.browser.contents)
    210210        self.assertFalse(
    211             'Student Statistics (depcode, 2005, All, 0)'
    212             in self.browser.contents)
    213         return
     211            'Student Statistics (depcode, 0, All, 2005)'
     212            in self.browser.contents)
     213        return
Note: See TracChangeset for help on using the changeset viewer.