Ignore:
Timestamp:
16 Jun 2022, 07:19:57 (2 years ago)
Author:
Henrik Bettermann
Message:

Implement transcript slip student view.

File:
1 edited

Legend:

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

    r16900 r16967  
    554554        open(path, 'wb').write(self.browser.contents)
    555555        print "Sample PDF transcript.pdf written to %s" % path
     556        # Officers can open the pdf student viewtranscript
     557        self.browser.open(self.student_path + '/studycourse/transcript_studview.pdf')
     558        self.assertEqual(self.browser.headers['Status'], '200 Ok')
     559        self.assertEqual(self.browser.headers['Content-Type'], 'application/pdf')
     560        path = os.path.join(samples_dir(), 'transcript_studview.pdf')
     561        open(path, 'wb').write(self.browser.contents)
     562        print "Sample PDF transcript_studview.pdf written to %s" % path
    556563
    557564    def test_payment_disabled(self):
Note: See TracChangeset for help on using the changeset viewer.