Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
2.2 kB
4
Indexable
Never


=================================== FAILURES ===================================
______________________ IntermediateTest.test_intermediate ______________________

self = <tests.intermediate_test.IntermediateTest testMethod=test_intermediate>

    def test_intermediate(self):
        self.main_wrapper_scene.handle_onboarding()
        self.main_wrapper_scene.enter_runner()
>       self.runner_scene.win_runner()

tests/intermediate_test.py:14: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
scenes/runner_scene.py:21: in win_runner
    obstacles = self.altdriver.find_objects_which_contain(By.NAME, "pf_obstacle")
lib/python3.7/site-packages/altunityrunner/runner.py:417: in find_objects_which_contain
    by, value, camera_by, camera_value, enabled
lib/python3.7/site-packages/altunityrunner/commands/base_command.py:122: in run
    response = command.execute()
lib/python3.7/site-packages/altunityrunner/commands/FindObjects/find_objects_which_contains.py:45: in execute
    return self.send()
lib/python3.7/site-packages/altunityrunner/commands/base_command.py:190: in send
    self.connection.send(self._parameters)
lib/python3.7/site-packages/altunityrunner/_websocket.py:255: in send
    self._ensure_connection_is_open()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = WebsocketConnection('127.0.0.1', 13000, None)

    def _ensure_connection_is_open(self):
        if self._errors:
            error = self._errors.pop()
            self.close()
>           raise ConnectionError(error)
E           altunityrunner.exceptions.ConnectionError: Connection to remote host was lost.

lib/python3.7/site-packages/altunityrunner/_websocket.py:180: ConnectionError
------------------------------ Captured log setup ------------------------------
WARNING  websocket:_logging.py:66 websocket connected
------------------------------ Captured log call -------------------------------
ERROR    websocket:_logging.py:62 Connection to remote host was lost. - goodbye
---- generated xml file: /tmp/customer_log_directorymjn3Hf/junitreport.xml -----
===================== 1 failed, 1 error in 109.51 seconds ======================