- Timestamp:
- 27 Aug 2023, 13:01:06 (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/tests/test_browser.py
r17554 r17561 21 21 from StringIO import StringIO 22 22 from hurry.workflow.interfaces import IWorkflowState, IWorkflowInfo 23 from mechanize imporLinkNotFoundErrort 23 24 from zope.securitypolicy.interfaces import IPrincipalRoleManager 24 25 from zope.component.hooks import setSite, clearSite … … 54 55 '...You logged in...', self.browser.contents) 55 56 self.browser.getLink("Base Data").click() 57 self.assertRaises( 58 LinkNotFoundError, 59 self.browser.getLink, 'Download examination clearance slip') 60 #self.browser.getLink("Download examination clearance slip").click() 61 # Unidel changed it's mind 62 self.browser.addHeader('Authorization', 'Basic mgr:mgrpw') 63 self.browser.getLink("Base Data").click() 56 64 self.browser.getLink("Download examination clearance slip").click() 57 65 self.assertEqual(self.browser.headers['Status'], '200 Ok')
Note: See TracChangeset for help on using the changeset viewer.