Guest User

Untitled

a guest
Aug 13th, 2018
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.06 KB | None | 0 0
  1. C:\python_training\env\Scripts\python.exe "C:\Program Files\JetBrains\PyCharm Community Edition 2017.2.7\helpers\pycharm\_jb_pytest_runner.py" --path C:/python_training/test_add_contact_in_book_address.py
  2. Testing started at 20:49 ...
  3. Launching py.test with arguments C:/python_training/test_add_contact_in_book_address.py in C:\python_training
  4.  
  5. ============================= test session starts =============================
  6. platform win32 -- Python 3.7.0, pytest-3.7.1, py-1.5.4, pluggy-0.7.1
  7. rootdir: C:\python_training, inifile:collected 1 item
  8.  
  9. test_add_contact_in_book_address.py F
  10. test_add_contact_in_book_address.py:120 (test_add_contact_in_book_address.test_add_contact_in_book_address)
  11. self = <test_add_contact_in_book_address.test_add_contact_in_book_address testMethod=test_add_contact_in_book_address>
  12.  
  13. def test_add_contact_in_book_address(self):
  14. wd = self.wd
  15. self.open_home_page(wd)
  16. self.login(wd, username="admin", password="secret")
  17. > self.user_data(wd, Contact_in_book_address(firstname="Lukasz", middlename="Ebi", lastname="Blaszkowski", nickname="lblaszkowski"))
  18. E TypeError: __init__() got an unexpected keyword argument 'firstname'
  19.  
  20. test_add_contact_in_book_address.py:125: TypeError
  21. [100%]
  22.  
  23. ================================== FAILURES ===================================
  24. ______ test_add_contact_in_book_address.test_add_contact_in_book_address ______
  25.  
  26. self = <test_add_contact_in_book_address.test_add_contact_in_book_address testMethod=test_add_contact_in_book_address>
  27.  
  28. def test_add_contact_in_book_address(self):
  29. wd = self.wd
  30. self.open_home_page(wd)
  31. self.login(wd, username="admin", password="secret")
  32. > self.user_data(wd, Contact_in_book_address(firstname="Lukasz", middlename="Ebi", lastname="Blaszkowski", nickname="lblaszkowski"))
  33. E TypeError: __init__() got an unexpected keyword argument 'firstname'
  34.  
  35. test_add_contact_in_book_address.py:125: TypeError
  36. ========================== 1 failed in 25.33 seconds ==========================
  37. Process finished with exit code 0
Add Comment
Please, Sign In to add comment