User Tools

Site Tools


reports:56dc896

Test executed on commit 56dc896c3009b64969278f1a2f546f0928f6fefb

Test Report

Report generated on 25-Nov-2016 at 10:57:04

Environment

Platform Linux-4.4.0-47-generic-x86_64-with-debian-stretch-sid
Python 2.7.12

Summary

0 tests ran in 0.45 seconds.

0 passed, 0 skipped, 0 failed, 1 errors, 0 expected failures, 0 unexpected passes

Results

Result Test Duration Links
Error lib.linux-x86_64-2.7/tardis/tests/integration_tests/test_integration.py::TestIntegration::()::test_model_quantities[model_quantities0-/tmp/tardis-test-v2iwxy/lib.linux-x86_64-2.7/tardis/tests/integration_tests/paper1_downbranch]::setup 0.05
self = <CallInfo when='setup' exception: Reference file /home/stefan/slow-tests/paper1_downbranch.h5 does not exist and is needed for the tests>, func = <function <lambda> at 0x7fe7b9c67320>
when = 'setup'

> ???

_pytest.runner:149:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_pytest.runner:137: in <lambda>
???
_pytest.core:521: in __call__
???
_pytest.core:528: in _docall
???
_pytest.core:393: in execute
???
_pytest.core:113: in wrapped_call
???
_pytest.core:138: in get_result
???
_pytest.core:123: in __init__
???
_pytest.core:394: in execute
???
_pytest.runner:86: in pytest_runtest_setup
???
_pytest.runner:403: in prepare
???
_pytest.python:1197: in setup
???
_pytest.python:702: in fillfixtures
???
_pytest.python:1345: in _fillfixtures
???
_pytest.python:1388: in getfuncargvalue
???
_pytest.python:1405: in _get_active_fixturedef
???
_pytest.python:1451: in _getfuncargvalue
???
_pytest.python:1883: in execute
???
_pytest.python:1405: in _get_active_fixturedef
???
_pytest.python:1451: in _getfuncargvalue
???
_pytest.python:1921: in execute
???
_pytest.python:1842: in call_fixture_func
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

request = <SubRequest 'reference' for <Function 'test_model_quantities[model_quantities0-/tmp/tardis-test-v2iwxy/lib.linux-x86_64-2.7/tardis/tests/integration_tests/paper1_downbranch]'>>
data_path = {'atom_data_path': '/home/stefan/projects/tardis/data/supernova_models/', 'config_dirpath': '/tmp/tardis-test-v2iwxy/l...'/home/stefan/slow-tests/generated/56dc896', 'reference_filepath': '/home/stefan/slow-tests/paper1_downbranch.h5', ...}

@pytest.fixture(scope="class")
def reference(request, data_path):
"""Fixture to ingest reference data for slow test from already available
HDF file. All data is unpacked as a collection of ``pd.Series`` and
``pd.DataFrames`` in a ``pd.HDFStore`` object and returned away.

Assumed that ``data_path['reference_filepath']`` is a valid HDF file
containing the reference dath for a particular setup.
"""
# Reference data need not be loaded and provided if current test run itself
# generates new reference data.
if request.config.getoption("--generate-reference"):
return
else:
try:
reference = pd.HDFStore(data_path['reference_filepath'], 'r')
except IOError:
raise IOError('Reference file {0} does not exist and is needed'
> ' for the tests'.format(data_path['reference_filepath']))
E IOError: Reference file /home/stefan/slow-tests/paper1_downbranch.h5 does not exist and is needed for the tests

tardis/tests/integration_tests/conftest.py:135: IOError

reports/56dc896.txt · Last modified: 2016/11/25 10:57 by karandesai96