Next Generation of pyClowder

Build: #6 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

get sensors: Test case result

The below summarizes the result of the test " get sensors" in build 6 of Clowder - pyclowder2 - seven-miles-changes - Default Job. View test case history
Description
get sensors
Test class
tests.test_geostreams
Method
test_get_sensors
Duration
< 1 sec
Status
Failed (Existing Failure)

Error Log

AttributeError: 'NoneType' object has no attribute 'json'
caplog = <pytest_capturelog.CaptureLogFuncArg object at 0x7fb1856af310>
host = 'http://localhost:9000/clowder', key = 'r1ek3rs'

    def test_get_sensors(caplog, host, key):
        caplog.setLevel(logging.DEBUG)
        client = SensorsApi(host=host, key=key)
        response = client.sensors_get()
>       sensors = response.json()
E       AttributeError: 'NoneType' object has no attribute 'json'

tests/test_geostreams.py:19: AttributeError
--------------------------------- Captured log ---------------------------------
sensors.py                  27 DEBUG    Getting all sensors
connectionpool.py          213 INFO     Starting new HTTP connection (1): localhost
sensors.py                  31 ERROR    Error retrieving sensor list: not enough arguments for format string