Next Generation of pyClowder

Build: #27 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

datapoints count by sensor get: Test case result

The below summarizes the result of the test " datapoints count by sensor get" in build 27 of Clowder - pyclowder2 - geostreams - Default Job.
Description
datapoints count by sensor get
Test class
tests.test_datapoints
Method
test_datapoints_count_by_sensor_get
Duration
< 1 sec
Status
Failed (Existing Failure)

Error Log

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

    def test_datapoints_count_by_sensor_get(caplog, host, key):
        caplog.setLevel(logging.DEBUG)
        client = DatapointsApi(host=host, key=key)
        response = client.datapoints_count_by_sensor_get(950)
>       sensors = response.text
E       AttributeError: 'NoneType' object has no attribute 'text'

tests/test_datapoints.py:10: AttributeError
--------------------------------- Captured log ---------------------------------
datapoints.py               45 DEBUG    Counting datapoints by sensor
connectionpool.py          213 INFO     Starting new HTTP connection (1): localhost
datapoints.py               49 ERROR    Error counting datapoints by sensor 950: not enough arguments for format string