Ignore:
Timestamp:
6 Dec 2011, 07:45:16 (13 years ago)
Author:
Henrik Bettermann
Message:

The test shows that we can open the clearance slip.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/students/tests/test_browser.py

    r7275 r7278  
    510510            '<img align="middle" height="125px" src="passport.jpg" />'
    511511            in self.browser.contents)
     512
     513        # The clearance slip can't yet be opened
     514        self.browser.open(self.student_path + '/clearance.pdf')
     515        self.assertEqual(self.browser.headers['Status'], '200 Ok')
     516        self.assertEqual(self.browser.headers['Content-Type'], 'application/pdf')
    512517
    513518    def test_manage_course_lists(self):
Note: See TracChangeset for help on using the changeset viewer.