Next Generation of pyClowder

Build: #18 failed Changes by Luigi Marini

Build result summary

Details

Completed
Queue duration
< 1 second
Duration
9 seconds
Labels
None
Revision
915e0fcbd8ce83994bcb39086853a2f004f2f5d1
Total tests
35

Tests

Responsible

Code commits

Author Commit Message Commit date
Luigi Marini Luigi Marini 915e0fcbd8ce83994bcb39086853a2f004f2f5d1 pep8 fixes.

Tests

Existing test failures 11
Status Test Failing since View job Duration
test setup failure
file /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/tests/test_datapoints.py, line 5
  def test_datapoints_count_by_sensor_get(caplog, host, key):
E       fixture 'caplog' not found
>       available fixtures: cache, capfd, capsys, doctest_namespace, host, key, monkeypatch, password, pytestconfig, record_xml_property, recwarn, tmpdir, tmpdir_factory, username
>       use 'pytest --fixtures [testpath]' for help on them.

/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/tests/test_datapoints.py:5
test setup failure
file /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/tests/test_geostreams.py, line 15
  def test_get_sensors(caplog, host, key):
E       fixture 'caplog' not found
>       available fixtures: cache, capfd, capsys, doctest_namespace, host, key, monkeypatch, password, pytestconfig, record_xml_property, recwarn, tmpdir, tmpdir_factory, username
>       use 'pytest --fixtures [testpath]' for help on them.

/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/tests/test_geostreams.py:15
test setup failure
file /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/tests/test_geostreams.py, line 7
  def test_version(caplog, host, key):
E       fixture 'caplog' not found
>       available fixtures: cache, capfd, capsys, doctest_namespace, host, key, monkeypatch, password, pytestconfig, record_xml_property, recwarn, tmpdir, tmpdir_factory, username
>       use 'pytest --fixtures [testpath]' for help on them.

/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/tests/test_geostreams.py:7
test setup failure
file /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/tests/test_geostreams.py, line 24
  def test_raise_for_status(caplog, host, key):
E       fixture 'caplog' not found
>       available fixtures: cache, capfd, capsys, doctest_namespace, host, key, monkeypatch, password, pytestconfig, record_xml_property, recwarn, tmpdir, tmpdir_factory, username
>       use 'pytest --fixtures [testpath]' for help on them.

/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/tests/test_geostreams.py:24
test setup failure
file /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/tests/test_sensors.py, line 29
  def test_sensors_delete(caplog, host, key):
E       fixture 'caplog' not found
>       available fixtures: cache, capfd, capsys, doctest_namespace, host, key, monkeypatch, password, pytestconfig, record_xml_property, recwarn, tmpdir, tmpdir_factory, username
>       use 'pytest --fixtures [testpath]' for help on them.

/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/tests/test_sensors.py:29
test setup failure
file /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/tests/test_sensors.py, line 7
  def test_sensors_post(caplog, host, key):
E       fixture 'caplog' not found
>       available fixtures: cache, capfd, capsys, doctest_namespace, host, key, monkeypatch, password, pytestconfig, record_xml_property, recwarn, tmpdir, tmpdir_factory, username
>       use 'pytest --fixtures [testpath]' for help on them.

/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/tests/test_sensors.py:7
test setup failure
file /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/tests/test_sensors.py, line 19
  def test_sensors_get(caplog, host, key):
E       fixture 'caplog' not found
>       available fixtures: cache, capfd, capsys, doctest_namespace, host, key, monkeypatch, password, pytestconfig, record_xml_property, recwarn, tmpdir, tmpdir_factory, username
>       use 'pytest --fixtures [testpath]' for help on them.

/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/tests/test_sensors.py:19
/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/docs/source/conf.py:34:5: E128 continuation line under-indented for visual indent     'sphinx.ext.doctest',     ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/docs/source/conf.py:35:5: E128 continuation line under-indented for visual indent     'sphinx.ext.viewcode',     ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/docs/source/conf.py:36:5: E128 continuation line under-indented for visual indent     'sphinx.ext.githubpages']     ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/docs/source/conf.py:159:1: W391 blank line at end of file  ^ 
/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/docs/source/conf.py:34:5: E128 continuation line under-indented for visual indent
    'sphinx.ext.doctest',
    ^
/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/docs/source/conf.py:35:5: E128 continuation line under-indented for visual indent
    'sphinx.ext.viewcode',
    ^
/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/docs/source/conf.py:36:5: E128 continuation line under-indented for visual indent
(5 more lines...)
/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/client.py:145:121: E501 line too long (137 > 120 characters)             return requests.post(url, params=params, data=json.dumps(content), headers=self.headers, auth=(self.username, self.password))                                                                                                                         ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/client.py:163:121: E501 line too long (127 > 120 characters)             return requests.post(url, params=params, files={"File": open(filename, 'rb')}, auth=(self.username, self.password))                                                                                                                         ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/client.py:196:5: E303 too many blank lines (2)     def delete(self, path):     ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/client.py:199:1: W293 blank line contains whitespace  ^ 
/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/client.py:145:121: E501 line too long (137 > 120 characters)
            return requests.post(url, params=params, data=json.dumps(content), headers=self.headers, auth=(self.username, self.password))
                                                                                                                        ^
/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/client.py:163:121: E501 line too long (127 > 120 characters)
            return requests.post(url, params=params, files={"File": open(filename, 'rb')}, auth=(self.username, self.password))
                                                                                                                        ^
/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/client.py:196:5: E303 too many blank lines (2)
(5 more lines...)
/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/tests/test_datapoints.py:11:39: W292 no newline at end of file     assert response.status_code != 200                                       ^ 
/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/tests/test_datapoints.py:11:39: W292 no newline at end of file
    assert response.status_code != 200
                                      ^
/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/tests/conftest.py:14:1: E302 expected 2 blank lines, found 1 @pytest.fixture(scope="module") ^ 
/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/tests/conftest.py:14:1: E302 expected 2 blank lines, found 1
@pytest.fixture(scope="module")
^
Fixed tests 6
Status Test Failing since View job Duration
Successful unnamed test suite pyclowder.geostreams.datasets
Default Job < 1 sec
Successful unnamed test suite pyclowder.geostreams.cache
Default Job < 1 sec
Successful unnamed test suite pyclowder.geostreams.sensors
Default Job < 1 sec
Successful unnamed test suite pyclowder.geostreams.csv
Default Job < 1 sec
Successful unnamed test suite pyclowder.geostreams.datapoints
Default Job < 1 sec
Successful unnamed test suite pyclowder.geostreams.streams
Default Job < 1 sec