Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ========================================= ERRORS =========================================
- __________________________ ERROR at setup of test_provider_init __________________________
- django_db_setup = None
- django_db_blocker = <pytest_django.plugin._DatabaseBlocker object at 0x7fd3d5468b10>
- @pytest.fixture(scope='module')
- def products(django_db_setup, django_db_blocker):
- """ Bootstrap provider products. """
- with django_db_blocker.unblock():
- # Bootstrap products
- > call_command('bootstrap_configure', 'travel', 'zetta')
- sealine/apps/product/integration/travel/zetta/test/test_bootstrap.py:17:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- /usr/local/lib/python2.7/site-packages/django/core/management/__init__.py:119: in call_command
- return command.execute(*args, **defaults)
- /usr/local/lib/python2.7/site-packages/django/core/management/base.py:399: in execute
- output = self.handle(*args, **options)
- sealine/apps/product/management/commands/bootstrap_configure.py:47: in handle
- conf_module.run_all(**extra)
- sealine/apps/product/integration/travel/zetta/bootstrap_configure.py:45: in run_all
- config_object = json.load(fh)
- /usr/local/lib/python2.7/json/__init__.py:291: in load
- **kw)
- /usr/local/lib/python2.7/json/__init__.py:339: in loads
- return _default_decoder.decode(s)
- /usr/local/lib/python2.7/json/decoder.py:364: in decode
- obj, end = self.raw_decode(s, idx=_w(s, 0).end())
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- self = <json.decoder.JSONDecoder object at 0x7fd3d5933d50>, s = '', idx = 0
- def raw_decode(self, s, idx=0):
- """Decode a JSON document from ``s`` (a ``str`` or ``unicode``
- 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:
- > raise ValueError("No JSON object could be decoded")
- E ValueError: No JSON object could be decoded
- /usr/local/lib/python2.7/json/decoder.py:382: ValueError
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement