Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ERRORS ===============================================================================================
- _________________________________________________________________________ ERROR at setup of test_franchised_clinic_has_debt _________________________________________________________________________
- request = <SubRequest 'config' for <Function test_franchised_clinic_has_debt>>
- @pytest.fixture(scope='session')
- def config(request):
- platform = request.config.getoption('--platform')
- platform_version = request.config.getoption('--platform_version')
- app = request.config.getoption('--app')
- device_name = request.config.getoption('--device_name')
- host = request.config.getoption('--host')
- avd = request.config.getoption('--avd')
- screenshots = request.config.getoption('--screenshots')
- headless = request.config.getoption('--headless')
- chrome_version = request.config.getoption('--chrome_version')
- app_version = request.config.getoption('--app_version')
- debug_app = request.config.getoption('--debug_app')
- browserstack = request.config.getoption('--browserstack')
- local = request.config.getoption('--local')
- config = {
- 'platform': platform,
- 'platform_version': platform_version,
- 'app': app,
- 'device_name': device_name,
- 'host': host,
- 'avd': avd,
- 'screenshots': screenshots,
- 'headless': headless,
- 'chrome_version': chrome_version,
- 'app_version': app_version,
- 'debug_app': debug_app,
- 'browserstack': browserstack,
- 'local': local,
- }
- > config = preprocess_config(config)
- tests/tests_appium/conftest.py:49:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- tests/tests_appium/conftest.py:166: in preprocess_config
- app = upload_app(app)
- utils/browserstack.py:25: in upload_app
- recent_apps = recent_uploads()
- utils/browserstack.py:14: in recent_uploads
- return response.json()
- ../../../.pyenv/versions/test_env372/lib/python3.7/site-packages/requests/models.py:897: in json
- return complexjson.loads(self.text, **kwargs)
- ../../../.pyenv/versions/3.7.2/lib/python3.7/json/__init__.py:348: in loads
- return _default_decoder.decode(s)
- ../../../.pyenv/versions/3.7.2/lib/python3.7/json/decoder.py:337: in decode
- obj, end = self.raw_decode(s, idx=_w(s, 0).end())
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- self = <json.decoder.JSONDecoder object at 0x106f0fb70>, s = 'HTTP Basic: Access denied.\n', idx = 0
- def raw_decode(self, s, idx=0):
- """Decode a JSON document from ``s`` (a ``str`` beginning with
- a JSON document) and return a 2-tuple of the Python
- representation and the index in ``s`` where the document ended.
- This can be used to decode a JSON document from a string that may
- have extraneous data at the end.
- """
- try:
- obj, end = self.scan_once(s, idx)
- except StopIteration as err:
- > raise JSONDecodeError("Expecting value", s, err.value) from None
- E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
- ../../../.pyenv/versions/3.7.2/lib/python3.7/json/decoder.py:355: JSONDecodeError
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement