Guest User

Untitled

a guest
Dec 23rd, 2018
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.69 KB | None | 0 0
  1. Testing started at 21:01 ...
  2. C:\Projects_Selenium\super_new_rep\env\Scripts\python.exe "C:\PyCharm Community Edition 2018.2.4\helpers\pycharm\_jb_pytest_runner.py" --path C:/Projects_Selenium/super_new_rep/test -- --browser=chrome
  3. Launching pytest with arguments --browser=chrome C:/Projects_Selenium/super_new_rep/test in C:\Projects_Selenium\super_new_rep\test
  4.  
  5. ============================= test session starts =============================
  6. platform win32 -- Python 3.7.1, pytest-4.0.1, py-1.7.0, pluggy-0.8.0
  7. rootdir: C:\Projects_Selenium\super_new_rep\test, inifile:collected 16 items
  8.  
  9. test_add_contact.py [ 6%]
  10. test_add_contact_to_group.py .. [ 12%]
  11. test_add_group.py [ 25%]
  12. test_check_contact.py ..... [ 43%]
  13. test_del_contact.py . [ 50%]
  14. test_del_group.py . [ 56%]
  15. test_delete_contact_from_group.py F
  16. test_delete_contact_from_group.py:6 (test_delete_contact_from_group)
  17. app = <fixture.application.Application object at 0x000002D8A707FB38>
  18. db = <fixture.db.Dbfixture object at 0x000002D8A70AD400>
  19.  
  20. def test_delete_contact_from_group(app, db):
  21. db = ORMFixture(host='127.0.0.1', name='addressbook', user='root',
  22. > password='')
  23.  
  24. test_delete_contact_from_group.py:9:
  25. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  26. ..\fixture\orm.py:34: in __init__
  27. self.db.bind('mysql', host=host, database=name, user=user, password=password, conv=conv)
  28. ..\env\lib\site-packages\pony\orm\core.py:698: in bind
  29. self._bind(*args, **kwargs)
  30. ..\env\lib\site-packages\pony\orm\core.py:702: in _bind
  31. throw(BindingError, 'Database object was already bound to %s provider' % self.provider.dialect)
  32. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  33.  
  34. exc_type = <class 'pony.orm.core.BindingError'>
  35. args = ('Database object was already bound to MySQL provider',), kwargs = {}
  36.  
  37. def throw(exc_type, *args, **kwargs):
  38. if isinstance(exc_type, Exception):
  39. assert not args and not kwargs
  40. exc = exc_type
  41. else: exc = exc_type(*args, **kwargs)
  42. exc.__cause__ = None
  43. try:
  44. if not (pony.MODE == 'INTERACTIVE' and options.CUT_TRACEBACK):
  45. > raise exc
  46. E pony.orm.core.BindingError: Database object was already bound to MySQL provider
  47.  
  48. ..\env\lib\site-packages\pony\utils\utils.py:106: BindingError
  49. [ 62%]
  50. test_emails.py .. [ 75%]
  51. test_modify_contact.py . [ 81%]
  52. test_modify_group.py . [ 87%]
  53. test_phones.py .. [100%]
  54.  
  55. ================================== FAILURES ===================================
  56. _______________________ test_delete_contact_from_group ________________________
  57.  
  58. app = <fixture.application.Application object at 0x000002D8A707FB38>
  59. db = <fixture.db.Dbfixture object at 0x000002D8A70AD400>
  60.  
  61. def test_delete_contact_from_group(app, db):
  62. db = ORMFixture(host='127.0.0.1', name='addressbook', user='root',
  63. > password='')
  64.  
  65. test_delete_contact_from_group.py:9:
  66. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  67. ..\fixture\orm.py:34: in __init__
  68. self.db.bind('mysql', host=host, database=name, user=user, password=password, conv=conv)
  69. ..\env\lib\site-packages\pony\orm\core.py:698: in bind
  70. self._bind(*args, **kwargs)
  71. ..\env\lib\site-packages\pony\orm\core.py:702: in _bind
  72. throw(BindingError, 'Database object was already bound to %s provider' % self.provider.dialect)
  73. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  74.  
  75. exc_type = <class 'pony.orm.core.BindingError'>
  76. args = ('Database object was already bound to MySQL provider',), kwargs = {}
  77.  
  78. def throw(exc_type, *args, **kwargs):
  79. if isinstance(exc_type, Exception):
  80. assert not args and not kwargs
  81. exc = exc_type
  82. else: exc = exc_type(*args, **kwargs)
  83. exc.__cause__ = None
  84. try:
  85. if not (pony.MODE == 'INTERACTIVE' and options.CUT_TRACEBACK):
  86. > raise exc
  87. E pony.orm.core.BindingError: Database object was already bound to MySQL provider
  88.  
  89. ..\env\lib\site-packages\pony\utils\utils.py:106: BindingError
  90. ==================== 1 failed, 15 passed in 81.62 seconds =====================
  91. Process finished with exit code 0
Add Comment
Please, Sign In to add comment