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
Example #2
0
 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
Example #4
0
 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
Example #5
0
 def __init__(self, driver, base_url):
     BasePageObject.__init__(self, driver, base_url, ('index',))
Example #6
0
 def __init__(self, driver, base_url):
     BasePageObject.__init__(self, driver, base_url, ('index', ))
Example #7
0
 def __init__(self, driver, base_url):
     BasePageObject.__init__(self, driver, base_url, ("login",))
Example #8
0
 def __init__(self, driver, base_url):
     BasePageObject.__init__(self, driver, base_url, ('login', ))
Example #9
0
 def __init__(self, driver, base_url):
     BasePageObject.__init__(self, driver, base_url, ('signup',))