Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Testing started at 21:01 ...
- 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
- Launching pytest with arguments --browser=chrome C:/Projects_Selenium/super_new_rep/test in C:\Projects_Selenium\super_new_rep\test
- ============================= test session starts =============================
- platform win32 -- Python 3.7.1, pytest-4.0.1, py-1.7.0, pluggy-0.8.0
- rootdir: C:\Projects_Selenium\super_new_rep\test, inifile:collected 16 items
- test_add_contact.py [ 6%]
- test_add_contact_to_group.py .. [ 12%]
- test_add_group.py [ 25%]
- test_check_contact.py ..... [ 43%]
- test_del_contact.py . [ 50%]
- test_del_group.py . [ 56%]
- test_delete_contact_from_group.py F
- test_delete_contact_from_group.py:6 (test_delete_contact_from_group)
- app = <fixture.application.Application object at 0x000002D8A707FB38>
- db = <fixture.db.Dbfixture object at 0x000002D8A70AD400>
- def test_delete_contact_from_group(app, db):
- db = ORMFixture(host='127.0.0.1', name='addressbook', user='root',
- > password='')
- test_delete_contact_from_group.py:9:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- ..\fixture\orm.py:34: in __init__
- self.db.bind('mysql', host=host, database=name, user=user, password=password, conv=conv)
- ..\env\lib\site-packages\pony\orm\core.py:698: in bind
- self._bind(*args, **kwargs)
- ..\env\lib\site-packages\pony\orm\core.py:702: in _bind
- throw(BindingError, 'Database object was already bound to %s provider' % self.provider.dialect)
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- exc_type = <class 'pony.orm.core.BindingError'>
- args = ('Database object was already bound to MySQL provider',), kwargs = {}
- def throw(exc_type, *args, **kwargs):
- if isinstance(exc_type, Exception):
- assert not args and not kwargs
- exc = exc_type
- else: exc = exc_type(*args, **kwargs)
- exc.__cause__ = None
- try:
- if not (pony.MODE == 'INTERACTIVE' and options.CUT_TRACEBACK):
- > raise exc
- E pony.orm.core.BindingError: Database object was already bound to MySQL provider
- ..\env\lib\site-packages\pony\utils\utils.py:106: BindingError
- [ 62%]
- test_emails.py .. [ 75%]
- test_modify_contact.py . [ 81%]
- test_modify_group.py . [ 87%]
- test_phones.py .. [100%]
- ================================== FAILURES ===================================
- _______________________ test_delete_contact_from_group ________________________
- app = <fixture.application.Application object at 0x000002D8A707FB38>
- db = <fixture.db.Dbfixture object at 0x000002D8A70AD400>
- def test_delete_contact_from_group(app, db):
- db = ORMFixture(host='127.0.0.1', name='addressbook', user='root',
- > password='')
- test_delete_contact_from_group.py:9:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- ..\fixture\orm.py:34: in __init__
- self.db.bind('mysql', host=host, database=name, user=user, password=password, conv=conv)
- ..\env\lib\site-packages\pony\orm\core.py:698: in bind
- self._bind(*args, **kwargs)
- ..\env\lib\site-packages\pony\orm\core.py:702: in _bind
- throw(BindingError, 'Database object was already bound to %s provider' % self.provider.dialect)
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- exc_type = <class 'pony.orm.core.BindingError'>
- args = ('Database object was already bound to MySQL provider',), kwargs = {}
- def throw(exc_type, *args, **kwargs):
- if isinstance(exc_type, Exception):
- assert not args and not kwargs
- exc = exc_type
- else: exc = exc_type(*args, **kwargs)
- exc.__cause__ = None
- try:
- if not (pony.MODE == 'INTERACTIVE' and options.CUT_TRACEBACK):
- > raise exc
- E pony.orm.core.BindingError: Database object was already bound to MySQL provider
- ..\env\lib\site-packages\pony\utils\utils.py:106: BindingError
- ==================== 1 failed, 15 passed in 81.62 seconds =====================
- Process finished with exit code 0
Add Comment
Please, Sign In to add comment