Guest User

Untitled

a guest
Apr 6th, 2020
207
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  ERRORS ===============================================================================================
  2. _________________________________________________________________________ ERROR at setup of test_franchised_clinic_has_debt _________________________________________________________________________
  3.  
  4. request = <SubRequest 'config' for <Function test_franchised_clinic_has_debt>>
  5.  
  6.     @pytest.fixture(scope='session')
  7.     def config(request):
  8.         platform = request.config.getoption('--platform')
  9.         platform_version = request.config.getoption('--platform_version')
  10.         app = request.config.getoption('--app')
  11.         device_name = request.config.getoption('--device_name')
  12.         host = request.config.getoption('--host')
  13.         avd = request.config.getoption('--avd')
  14.         screenshots = request.config.getoption('--screenshots')
  15.         headless = request.config.getoption('--headless')
  16.         chrome_version = request.config.getoption('--chrome_version')
  17.         app_version = request.config.getoption('--app_version')
  18.         debug_app = request.config.getoption('--debug_app')
  19.         browserstack = request.config.getoption('--browserstack')
  20.         local = request.config.getoption('--local')
  21.         config = {
  22.             'platform': platform,
  23.             'platform_version': platform_version,
  24.             'app': app,
  25.             'device_name': device_name,
  26.             'host': host,
  27.             'avd': avd,
  28.             'screenshots': screenshots,
  29.             'headless': headless,
  30.             'chrome_version': chrome_version,
  31.             'app_version': app_version,
  32.             'debug_app': debug_app,
  33.             'browserstack': browserstack,
  34.             'local': local,
  35.         }
  36. >       config = preprocess_config(config)
  37.  
  38. tests/tests_appium/conftest.py:49:
  39. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  40. tests/tests_appium/conftest.py:166: in preprocess_config
  41.     app = upload_app(app)
  42. utils/browserstack.py:25: in upload_app
  43.     recent_apps = recent_uploads()
  44. utils/browserstack.py:14: in recent_uploads
  45.     return response.json()
  46. ../../../.pyenv/versions/test_env372/lib/python3.7/site-packages/requests/models.py:897: in json
  47.     return complexjson.loads(self.text, **kwargs)
  48. ../../../.pyenv/versions/3.7.2/lib/python3.7/json/__init__.py:348: in loads
  49.     return _default_decoder.decode(s)
  50. ../../../.pyenv/versions/3.7.2/lib/python3.7/json/decoder.py:337: in decode
  51.     obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  52. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  53.  
  54. self = <json.decoder.JSONDecoder object at 0x106f0fb70>, s = 'HTTP Basic: Access denied.\n', idx = 0
  55.  
  56.     def raw_decode(self, s, idx=0):
  57.         """Decode a JSON document from ``s`` (a ``str`` beginning with
  58.        a JSON document) and return a 2-tuple of the Python
  59.        representation and the index in ``s`` where the document ended.
  60.    
  61.        This can be used to decode a JSON document from a string that may
  62.        have extraneous data at the end.
  63.    
  64.        """
  65.         try:
  66.             obj, end = self.scan_once(s, idx)
  67.         except StopIteration as err:
  68. >           raise JSONDecodeError("Expecting value", s, err.value) from None
  69. E           json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  70.  
  71. ../../../.pyenv/versions/3.7.2/lib/python3.7/json/decoder.py:355: JSONDecodeError
RAW Paste Data