Changeset 4086 for waeup/branches


Ignore:
Timestamp:
26 Apr 2009, 01:58:07 (16 years ago)
Author:
uli
Message:

Update authentication tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup/branches/ulif-rewrite/src/waeup/authentication.txt

    r4085 r4086  
    2222  >>> from zope.testbrowser.testing import Browser
    2323  >>> browser = Browser()
    24   >>> browser.addHeader('Authorization', 'Basic mgr:mgrpw')
    2524  >>> browser.handleErrors = False
    2625
     
    3433  200 Ok
    3534
     35There is a login form on the fron page sidebar:
     36
     37  >>> 'form.login' in browser.contents
     38  True
     39
     40We 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.