Changeset 4086 for waeup/branches
- Timestamp:
- 26 Apr 2009, 01:58:07 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-rewrite/src/waeup/authentication.txt
r4085 r4086 22 22 >>> from zope.testbrowser.testing import Browser 23 23 >>> browser = Browser() 24 >>> browser.addHeader('Authorization', 'Basic mgr:mgrpw')25 24 >>> browser.handleErrors = False 26 25 … … 34 33 200 Ok 35 34 35 There is a login form on the fron page sidebar: 36 37 >>> 'form.login' in browser.contents 38 True 39 40 We use this form: 41 42 >>> browser.getControl(name='form.login').value = 'grok' 43 >>> browser.getControl(name='form.password').value = 'grok' 44 >>> browser.getControl('Login').click()
Note: See TracChangeset for help on using the changeset viewer.