Next Generation of pyClowder
Build: #8 failed
Job: Default Job failed
streams delete: Test case result
The below summarizes the result of the test " streams delete" in build 8 of Clowder - pyclowder2 - seven-miles-changes - Default Job.
- Description
- streams delete
- Test class
- tests.test_streams
- Method
- test_streams_delete
- Duration
- < 1 sec
- Status
- Failed (Existing Failure)
Error Log
AttributeError: 'NoneType' object has no attribute 'json' caplog = <pytest_capturelog.CaptureLogFuncArg object at 0x7f6014965790> host = 'http://localhost:9000/clowder', key = 'r1ek3rs' def test_streams_delete(caplog, host, key): global sensor_id, stream_id caplog.setLevel(logging.DEBUG) sensor_client = SensorsApi(host=host, key=key) response = sensor_client.sensor_delete(sensor_id) stream_client = StreamsApi(host=host, key=key) response = stream_client.stream_delete(stream_id) > stream = response.json() E AttributeError: 'NoneType' object has no attribute 'json' tests/test_streams.py:41: AttributeError --------------------------------- Captured log --------------------------------- sensors.py 101 DEBUG Deleting sensor connectionpool.py 213 INFO Starting new HTTP connection (1): localhost client.py 211 ERROR DELETE http://localhost:9000/clowder/api/geostreams/sensors/: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /clowder/api/geostreams/sensors/?key=r1ek3rs (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f6014926750>: Failed to establish a new connection: [Errno 111] Connection refused',)) streams.py 90 DEBUG Deleting stream connectionpool.py 213 INFO Starting new HTTP connection (1): localhost client.py 211 ERROR DELETE http://localhost:9000/clowder/api/geostreams/streams/: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /clowder/api/geostreams/streams/?key=r1ek3rs (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f6014926950>: Failed to establish a new connection: [Errno 111] Connection refused',))