Changeset 13898 for main/waeup.kofa/trunk/src/waeup/kofa/students/tests
- Timestamp:
- 9 Jun 2016, 12:36:41 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r13894 r13898 1889 1889 self.assertTrue('mrslecturer - students.browser.EditScoresPage - ' 1890 1890 'K1000000 100/COURSE1 score updated (None)' in logcontent) 1891 # A course ticket slip can be downloaded 1892 self.browser.open( 1893 "http://localhost/app/faculties/fac1/dep1/courses/COURSE1/coursetickets.pdf") 1894 self.assertEqual(self.browser.headers['Status'], '200 Ok') 1895 self.assertEqual(self.browser.headers['Content-Type'], 1896 'application/pdf') 1897 path = os.path.join(samples_dir(), 'coursetickets.pdf') 1898 open(path, 'wb').write(self.browser.contents) 1899 print "Sample PDF coursetickets.pdf written to %s" % path 1900 1891 1901 1892 1902 def test_change_current_mode(self):
Note: See TracChangeset for help on using the changeset viewer.