| FAILED tests/test_example.py::test_sample - assert 1 == 2
|
| =============================================== short test summary info ===============================================
|
| FAILED tests/test_example.py::test_sample - assert 1 == 2
|
| ================================================= 1 failed in 0.01s =================================================
|
|
|
| Traceback (most recent call last):
|
| File "tests/test_example.py", line 5, in test_sample
|
| assert 1 == 2
|
| AssertionError: assert 1 == 2
|
|
|
| During handling of the above exception, another exception occurred:
|
|
|
| File "tests/test_example.py", line 8, in test_sample
|
| result = some_function()
|
| File "module.py", line 10, in some_function
|
| data = json.loads(response)
|
| File "/usr/lib/python3.8/json/__init__.py", line 341, in loads
|
| return _default_decoder.decode(s)
|
| File "/usr/lib/python3.8/json/decoder.py", line 337, in decode
|
| obj, end = self.raw_decode(s, idx=_w.scan_once(s, idx).end())
|
| json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
|