Advertisement
Guest User

Untitled

a guest
Aug 19th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.31 KB | None | 0 0
  1. ========================================= ERRORS =========================================
  2. __________________________ ERROR at setup of test_provider_init __________________________
  3.  
  4. django_db_setup = None
  5. django_db_blocker = <pytest_django.plugin._DatabaseBlocker object at 0x7fd3d5468b10>
  6.  
  7. @pytest.fixture(scope='module')
  8. def products(django_db_setup, django_db_blocker):
  9. """ Bootstrap provider products. """
  10. with django_db_blocker.unblock():
  11. # Bootstrap products
  12. > call_command('bootstrap_configure', 'travel', 'zetta')
  13.  
  14. sealine/apps/product/integration/travel/zetta/test/test_bootstrap.py:17:
  15. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  16. /usr/local/lib/python2.7/site-packages/django/core/management/__init__.py:119: in call_command
  17. return command.execute(*args, **defaults)
  18. /usr/local/lib/python2.7/site-packages/django/core/management/base.py:399: in execute
  19. output = self.handle(*args, **options)
  20. sealine/apps/product/management/commands/bootstrap_configure.py:47: in handle
  21. conf_module.run_all(**extra)
  22. sealine/apps/product/integration/travel/zetta/bootstrap_configure.py:45: in run_all
  23. config_object = json.load(fh)
  24. /usr/local/lib/python2.7/json/__init__.py:291: in load
  25. **kw)
  26. /usr/local/lib/python2.7/json/__init__.py:339: in loads
  27. return _default_decoder.decode(s)
  28. /usr/local/lib/python2.7/json/decoder.py:364: in decode
  29. obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  30. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  31.  
  32. self = <json.decoder.JSONDecoder object at 0x7fd3d5933d50>, s = '', idx = 0
  33.  
  34. def raw_decode(self, s, idx=0):
  35. """Decode a JSON document from ``s`` (a ``str`` or ``unicode``
  36. beginning with a JSON document) and return a 2-tuple of the Python
  37. representation and the index in ``s`` where the document ended.
  38.  
  39. This can be used to decode a JSON document from a string that may
  40. have extraneous data at the end.
  41.  
  42. """
  43. try:
  44. obj, end = self.scan_once(s, idx)
  45. except StopIteration:
  46. > raise ValueError("No JSON object could be decoded")
  47. E ValueError: No JSON object could be decoded
  48.  
  49. /usr/local/lib/python2.7/json/decoder.py:382: ValueError
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement