Next Generation of pyClowder

Build: #6 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 6 of Clowder - pyclowder2 - seven-miles-changes - Default Job. View test case history
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 0x7fb18592a750>
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:9: AttributeError
--------------------------------- Captured log ---------------------------------
datapoints.py               41 DEBUG    Counting datapoints by sensor
connectionpool.py          213 INFO     Starting new HTTP connection (1): localhost
datapoints.py               45 ERROR    Error counting datapoints by sensor 950: not enough arguments for format string