| Home | Trees | Indices | Help |
|---|
|
|
Browser --+
|
AppBrowser
Browser interface to test web.py apps.
b = AppBrowser(app) b.open('/') b.follow_link(text='Login')
b.select_form(name='login') b['username'] = 'joe' b['password'] = 'secret' b.submit()
assert b.path == '/' assert 'Welcome joe' in b.get_text()
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
|
Builds the opener using urllib2.build_opener. Subclasses can override this function to prodive custom openers.
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Wed Aug 4 09:57:30 2010 | http://epydoc.sourceforge.net |