add the 'register' backend parameter
This commit is contained in:
parent
d383e0fadc
commit
aea2cf0780
3 changed files with 15 additions and 4 deletions
|
|
@ -104,11 +104,11 @@ class AuMBrowser(BaseBrowser):
|
|||
return func(self, *args, **kwargs)
|
||||
return inner
|
||||
|
||||
def register(self, nickname, password, sex, birthday_d, birthday_m, birthday_y, zipcode, country, godfather=''):
|
||||
def register(self, password, sex, birthday_d, birthday_m, birthday_y, zipcode, country, godfather=''):
|
||||
if not self.is_on_page(RegisterPage):
|
||||
self.location('http://www.adopteunmec.com/register2.php')
|
||||
|
||||
return self.page.register(nickname, password, sex, birthday_d, birthday_m, birthday_y, zipcode, country, godfather)
|
||||
return self.page.register(password, sex, birthday_d, birthday_m, birthday_y, zipcode, country, godfather)
|
||||
|
||||
@pageaccess
|
||||
def add_photo(self, name, f):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue