SHARE
TWEET

Untitled

a guest Apr 2nd, 2019 104 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Testing started at 10:27 ...
  2. /home/motekito/PycharmProjects/training_2019/venv/bin/python /opt/pycharm-community-2018.3.5/helpers/pycharm/_jb_pytest_runner.py --path /home/motekito/PycharmProjects/training_2019/test/test_add_contact.py
  3. Launching pytest with arguments /home/motekito/PycharmProjects/training_2019/test/test_add_contact.py in /home/motekito/PycharmProjects/training_2019/test
  4.  
  5. ============================= test session starts ==============================
  6. platform linux -- Python 3.6.7, pytest-4.3.0, py-1.8.0, pluggy-0.9.0
  7. rootdir: /home/motekito/PycharmProjects/training_2019/test, inifile:collected 1 item
  8.  
  9. test_add_contact.py F
  10. test_add_contact.py:3 (test_add_contact)
  11. app = <fixture.application.Application object at 0x7f0f90682be0>
  12.  
  13.     def test_add_contact(app):
  14.             app.session.login(username="admin", password="secret")
  15.             app.contact.create(Contact(firstname="Mikhail", lastname="Mtk", nickname="motekito",
  16. >                                   mobile="9111686171", email="motekito@gmail.com"))
  17. E           TypeError: init() missing 2 required positional arguments: 'new_firstname' and 'new_lastname'
  18.  
  19. test_add_contact.py:7: TypeError
  20.                                                     [100%]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top