Ignore:
Timestamp:
20 Jun 2015, 08:01:19 (9 years ago)
Author:
Henrik Bettermann
Message:

'55' may appear in ids.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/applicants/tests/test_browser.py

    r11788 r13081  
    118118            'Add admission checking payment ticket' in self.browser.contents)
    119119        self.assertTrue('<a href="http://localhost/app/faculties/fac1/dep1/certificates/CERT1">CERT1 - Unnamed Certificate</a>' in self.browser.contents)
    120         self.assertTrue('55' in self.browser.contents)
     120        self.assertTrue('<span>55</span>' in self.browser.contents)
    121121        configuration = CustomSessionConfiguration()
    122122        configuration.academic_session = datetime.now().year - 2
     
    128128            'Add admission checking payment ticket' in self.browser.contents)
    129129        self.assertTrue('<a href="http://localhost/app/faculties/fac1/dep1/certificates/CERT1">CERT1 - Unnamed Certificate</a>' in self.browser.contents)
    130         self.assertTrue('55' in self.browser.contents)
     130        self.assertTrue('<span>55</span>' in self.browser.contents)
    131131        configuration.admchecking_fee = 22.0
    132132        # Admission checking payment button is now visible, but screening results
     
    136136            'Add admission checking payment ticket' in self.browser.contents)
    137137        self.assertFalse('<a href="http://localhost/app/faculties/fac1/dep1/certificates/CERT1">CERT1 - Unnamed Certificate</a>' in self.browser.contents)
    138         self.assertFalse('55' in self.browser.contents)
     138        self.assertFalse('<span>55</span>' in self.browser.contents)
    139139        # Application slip can't be downloaded
    140140        self.assertFalse('Download application slip' in self.browser.contents)
     
    153153            'Add admission checking payment ticket' in self.browser.contents)
    154154        self.assertTrue('<a href="http://localhost/app/faculties/fac1/dep1/certificates/CERT1">CERT1 - Unnamed Certificate</a>' in self.browser.contents)
    155         self.assertTrue('55' in self.browser.contents)
     155        self.assertTrue('<span>55</span>' in self.browser.contents)
    156156        # Application slip can be downloaded again.
    157157        self.browser.getLink("Download application slip").click()
Note: See TracChangeset for help on using the changeset viewer.