Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\Users\user\Documents\GitHub\python_homework_training\env\Scripts\python.exe "C:\Program Files\JetBrains\PyCharm Community Edition 2017.2.3\helpers\pycharm\_jb_pytest_runner.py" --path C:/Users/user/Documents/GitHub/python_homework_training/test/add_contact.py
- Testing started at 12:01 ...
- Launching py.test with arguments C:/Users/user/Documents/GitHub/python_homework_training/test/add_contact.py in C:\Users\user\Documents\GitHub\python_homework_training\test
- ============================= test session starts =============================
- platform win32 -- Python 3.6.2, pytest-3.2.2, py-1.4.34, pluggy-0.4.0
- rootdir: C:\Users\user\Documents\GitHub\python_homework_training\test, inifile:
- collected 2 items
- add_contact.py F
- add_contact.py:14 (test_add_contact)
- app = <application.Application object at 0x03EBF0B0>
- def test_add_contact(app):
- > app.login(username="admin", password="secret")
- add_contact.py:16:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- self = <application.Application object at 0x03EBF0B0>, username = 'admin'
- password = 'secret'
- def login(self, username, password):
- > wd = self.wd
- E AttributeError: 'Application' object has no attribute 'wd'
- ..\application.py:56: AttributeError
- E
- add_contact.py:14 (test_add_contact)
- self = <application.Application object at 0x03EBF0B0>
- def destroy (self):
- > self.wd.quit()
- E AttributeError: 'Application' object has no attribute 'wd'
- ..\application.py:71: AttributeError
- F
- add_contact.py:19 (test_add_empty_contact)
- app = <application.Application object at 0x0404E7B0>
- def test_add_empty_contact(app):
- > app.login(username="admin", password="secret")
- add_contact.py:21:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- self = <application.Application object at 0x0404E7B0>, username = 'admin'
- password = 'secret'
- def login(self, username, password):
- > wd = self.wd
- E AttributeError: 'Application' object has no attribute 'wd'
- ..\application.py:56: AttributeError
- E
- add_contact.py:19 (test_add_empty_contact)
- self = <application.Application object at 0x0404E7B0>
- def destroy (self):
- > self.wd.quit()
- E AttributeError: 'Application' object has no attribute 'wd'
- ..\application.py:71: AttributeError
- =================================== ERRORS ====================================
- ____________________ ERROR at teardown of test_add_contact ____________________
- self = <application.Application object at 0x03EBF0B0>
- def destroy (self):
- > self.wd.quit()
- E AttributeError: 'Application' object has no attribute 'wd'
- ..\application.py:71: AttributeError
- _________________ ERROR at teardown of test_add_empty_contact _________________
- self = <application.Application object at 0x0404E7B0>
- def destroy (self):
- > self.wd.quit()
- E AttributeError: 'Application' object has no attribute 'wd'
- ..\application.py:71: AttributeError
- ================================== FAILURES ===================================
- ______________________________ test_add_contact _______________________________
- app = <application.Application object at 0x03EBF0B0>
- def test_add_contact(app):
- > app.login(username="admin", password="secret")
- add_contact.py:16:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- self = <application.Application object at 0x03EBF0B0>, username = 'admin'
- password = 'secret'
- def login(self, username, password):
- > wd = self.wd
- E AttributeError: 'Application' object has no attribute 'wd'
- ..\application.py:56: AttributeError
- ___________________________ test_add_empty_contact ____________________________
- app = <application.Application object at 0x0404E7B0>
- def test_add_empty_contact(app):
- > app.login(username="admin", password="secret")
- add_contact.py:21:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- self = <application.Application object at 0x0404E7B0>, username = 'admin'
- password = 'secret'
- def login(self, username, password):
- > wd = self.wd
- E AttributeError: 'Application' object has no attribute 'wd'
- ..\application.py:56: AttributeError
- ====================== 2 failed, 2 error in 0.66 seconds ======================
- Process finished with exit code 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement