Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def submit_new_account_form(self, **credentials):
- ...
- create_new_account = loginpage.submit_new_account_form(
- {'first_name': 'Test', 'last_name': 'Test', 'phone_or_email':
- temp_email, 'newpass': '1q2w3e4r5t',
- 'sex': 'male'})
- line 22, in test_new_account_succes
- 'sex': 'male'})
- TypeError: submit_new_account_form() takes 1 positional argument but 2 were
- given
- def submit_new_account_form(self, credentials):
- # ...
- pass
- loginpage.submit_new_account_form({'first_name': 'Test', 'last_name': 'Test', 'phone_or_email': temp_email, 'newpass': '1q2w3e4r5t', 'sex': 'male'})
- def submit_new_account_form(self, **credentials):
- # ...
- pass
- loginpage.submit_new_account_form(**{'first_name': 'Test', 'last_name': 'Test', 'phone_or_email': temp_email, 'newpass': '1q2w3e4r5t', 'sex': 'male'})
- loginpage.submit_new_account_form(first_name='Test', last_name='Test', phone_or_email=temp_email, newpass='1q2w3e4r5t', sex='male')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement