Advertisement
Guest User

Untitled

a guest
Sep 17th, 2017
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.25 KB | None | 0 0
  1. 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
  2. Testing started at 12:01 ...
  3. 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
  4.  
  5. ============================= test session starts =============================
  6. platform win32 -- Python 3.6.2, pytest-3.2.2, py-1.4.34, pluggy-0.4.0
  7. rootdir: C:\Users\user\Documents\GitHub\python_homework_training\test, inifile:
  8. collected 2 items
  9. add_contact.py F
  10. add_contact.py:14 (test_add_contact)
  11. app = <application.Application object at 0x03EBF0B0>
  12.  
  13. def test_add_contact(app):
  14. > app.login(username="admin", password="secret")
  15.  
  16. add_contact.py:16:
  17. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  18.  
  19. self = <application.Application object at 0x03EBF0B0>, username = 'admin'
  20. password = 'secret'
  21.  
  22. def login(self, username, password):
  23. > wd = self.wd
  24. E AttributeError: 'Application' object has no attribute 'wd'
  25.  
  26. ..\application.py:56: AttributeError
  27. E
  28. add_contact.py:14 (test_add_contact)
  29. self = <application.Application object at 0x03EBF0B0>
  30.  
  31. def destroy (self):
  32. > self.wd.quit()
  33. E AttributeError: 'Application' object has no attribute 'wd'
  34.  
  35. ..\application.py:71: AttributeError
  36. F
  37. add_contact.py:19 (test_add_empty_contact)
  38. app = <application.Application object at 0x0404E7B0>
  39.  
  40. def test_add_empty_contact(app):
  41. > app.login(username="admin", password="secret")
  42.  
  43. add_contact.py:21:
  44. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  45.  
  46. self = <application.Application object at 0x0404E7B0>, username = 'admin'
  47. password = 'secret'
  48.  
  49. def login(self, username, password):
  50. > wd = self.wd
  51. E AttributeError: 'Application' object has no attribute 'wd'
  52.  
  53. ..\application.py:56: AttributeError
  54. E
  55. add_contact.py:19 (test_add_empty_contact)
  56. self = <application.Application object at 0x0404E7B0>
  57.  
  58. def destroy (self):
  59. > self.wd.quit()
  60. E AttributeError: 'Application' object has no attribute 'wd'
  61.  
  62. ..\application.py:71: AttributeError
  63.  
  64.  
  65. =================================== ERRORS ====================================
  66. ____________________ ERROR at teardown of test_add_contact ____________________
  67.  
  68. self = <application.Application object at 0x03EBF0B0>
  69.  
  70. def destroy (self):
  71. > self.wd.quit()
  72. E AttributeError: 'Application' object has no attribute 'wd'
  73.  
  74. ..\application.py:71: AttributeError
  75. _________________ ERROR at teardown of test_add_empty_contact _________________
  76.  
  77. self = <application.Application object at 0x0404E7B0>
  78.  
  79. def destroy (self):
  80. > self.wd.quit()
  81. E AttributeError: 'Application' object has no attribute 'wd'
  82.  
  83. ..\application.py:71: AttributeError
  84. ================================== FAILURES ===================================
  85. ______________________________ test_add_contact _______________________________
  86.  
  87. app = <application.Application object at 0x03EBF0B0>
  88.  
  89. def test_add_contact(app):
  90. > app.login(username="admin", password="secret")
  91.  
  92. add_contact.py:16:
  93. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  94.  
  95. self = <application.Application object at 0x03EBF0B0>, username = 'admin'
  96. password = 'secret'
  97.  
  98. def login(self, username, password):
  99. > wd = self.wd
  100. E AttributeError: 'Application' object has no attribute 'wd'
  101.  
  102. ..\application.py:56: AttributeError
  103. ___________________________ test_add_empty_contact ____________________________
  104.  
  105. app = <application.Application object at 0x0404E7B0>
  106.  
  107. def test_add_empty_contact(app):
  108. > app.login(username="admin", password="secret")
  109.  
  110. add_contact.py:21:
  111. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  112.  
  113. self = <application.Application object at 0x0404E7B0>, username = 'admin'
  114. password = 'secret'
  115.  
  116. def login(self, username, password):
  117. > wd = self.wd
  118. E AttributeError: 'Application' object has no attribute 'wd'
  119.  
  120. ..\application.py:56: AttributeError
  121. ====================== 2 failed, 2 error in 0.66 seconds ======================
  122. Process finished with exit code 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement