Ignore:
Timestamp:
7 Apr 2021, 08:48:15 (4 years ago)
Author:
Henrik Bettermann
Message:

See #1207.

File:
1 edited

Legend:

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

    r16386 r16447  
    193193        self.browser.getControl("Save and request clearance").click()
    194194
    195         #self.assertTrue('No second sitting result uploaded'
    196         #    in self.browser.contents)
    197         #scd_sit_scan = 'My second sitting result'
    198         #file_id = IFileStoreNameChooser(self.student).chooseName(
    199         #    attr="scd_sit_scan.jpg")
    200         #file_store.createFile(file_id, StringIO(scd_sit_scan))
    201         #self.browser.open(self.edit_clearance_path)
    202         #self.browser.getControl("Save and request clearance").click()
    203 
    204195        self.assertTrue('No affidavit of non-membership of secret cults uploaded'
    205196            in self.browser.contents)
     
    208199            attr="secr_cults.jpg")
    209200        file_store.createFile(file_id, StringIO(secr_cults))
     201        self.browser.open(self.edit_clearance_path)
     202        self.browser.getControl("Save and request clearance").click()
     203
     204        self.assertTrue('No O level results scratch card uploaded'
     205            in self.browser.contents)
     206        olevel_sc = 'My O level results scratch card'
     207        file_id = IFileStoreNameChooser(self.student).chooseName(
     208            attr="olevel_sc.jpg")
     209        file_store.createFile(file_id, StringIO(olevel_sc))
     210
    210211        # Clearance invitation letter is not yet available
    211212        self.browser.open(self.clearance_path)
Note: See TracChangeset for help on using the changeset viewer.