Back to index

plone3  3.1.7
Public Member Functions
plone.app.redirector.tests.base.RedirectorFunctionalTestCase Class Reference

List of all members.

Public Member Functions

def getBrowser

Detailed Description

Definition at line 8 of file base.py.


Member Function Documentation

instantiate and return a testbrowser for convenience 

Definition at line 10 of file base.py.

00010 
00011     def getBrowser(self, loggedIn=True):
00012         """ instantiate and return a testbrowser for convenience """
00013         browser = Browser()
00014         if loggedIn:
00015             user = PloneTestCase.default_user
00016             pwd = PloneTestCase.default_password
00017             browser.addHeader('Authorization', 'Basic %s:%s' % (user, pwd))
00018         return browser
00019 

The documentation for this class was generated from the following file: