def __init__(self, driver, base_url, user): BasePageObject.__init__( self, driver, base_url, ('confirmation', { 'confirmation_code': user.confirmation_code, 'email': user.email })) self.user = user
def __init__(self, driver, base_url, charity, include_charity_name=True): charity_id = charity.key().id() if include_charity_name: charity_identifier = '%s-%s' % (charity_id, charity.name) else: charity_identifier = charity_id BasePageObject.__init__(self, driver, base_url, ('view_charity', {'charity_identifier': charity_identifier})) self.charity = charity
def __init__(self, driver, base_url, charity, include_charity_name=True): charity_id = charity.key().id() if include_charity_name: charity_identifier = '%s-%s' % (charity_id, charity.name) else: charity_identifier = charity_id BasePageObject.__init__(self, driver, base_url, ('view_charity', { 'charity_identifier': charity_identifier })) self.charity = charity
def __init__(self, driver, base_url, user): BasePageObject.__init__(self, driver, base_url, ('confirmation', {'confirmation_code': user.confirmation_code, 'email': user.email})) self.user = user
def __init__(self, driver, base_url): BasePageObject.__init__(self, driver, base_url, ('index',))
def __init__(self, driver, base_url): BasePageObject.__init__(self, driver, base_url, ('index', ))
def __init__(self, driver, base_url): BasePageObject.__init__(self, driver, base_url, ("login",))
def __init__(self, driver, base_url): BasePageObject.__init__(self, driver, base_url, ('login', ))
def __init__(self, driver, base_url): BasePageObject.__init__(self, driver, base_url, ('signup',))