Changeset 8201 for main/waeup.uniben/trunk
- Timestamp:
- 18 Apr 2012, 04:35:17 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/browser/tests.py
r8020 r8201 20 20 from zope.testbrowser.testing import Browser 21 21 from zope.component.hooks import setSite, clearSite 22 from zope.security.interfaces import Unauthorized 22 23 from waeup.kofa.testing import FunctionalTestCase 23 24 from waeup.uniben.testing import FunctionalLayer … … 56 57 self.browser.open('http://localhost/app/configuration') 57 58 return 59 60 def test_access_live_url(self): 61 # We can't access the system with basic authentication 62 self.browser.addHeader('Authorization', 'Basic grok:grok') 63 self.assertRaises( 64 Unauthorized, self.browser.open, 'https://kofa-demo.waeup.org') 65 return
Note: See TracChangeset for help on using the changeset viewer.