from ..dea_check import model_path, DEACheck
from acis_thermal_check.regression_testing import \
    RegressionTester, all_loads
import pytest


@pytest.fixture(autouse=True, scope='module')
def dea_rt(test_root):
    # ACIS state builder tests
    rt = RegressionTester(DEACheck, model_path, "dea_test_spec.json",
                          test_root=test_root, sub_dir='acis')
    rt.run_models(state_builder='acis')
    return rt

# Prediction tests

@pytest.mark.parametrize('load', all_loads)
def test_prediction(dea_rt, answer_store, load):
    dea_rt.run_test("prediction", load, answer_store=answer_store)

# Validation tests

@pytest.mark.parametrize('load', all_loads)
def test_validation(dea_rt, answer_store, load):
    dea_rt.run_test("validation", load, answer_store=answer_store)

749d6b1cf743c935a032deb50e48b4d593927a54
<mask token>

<mask token>


@pytest.fixture(autouse=True, scope='module')
def dea_rt(test_root):
    rt = RegressionTester(DEACheck, model_path, 'dea_test_spec.json',
        test_root=test_root, sub_dir='acis')
    rt.run_models(state_builder='acis')
    return rt


<mask token>


@pytest.mark.parametrize('load', all_loads)
def test_validation(dea_rt, answer_store, load):
    dea_rt.run_test('validation', load, answer_store=answer_store)

<mask token>


@pytest.fixture(autouse=True, scope='module')
def dea_rt(test_root):
    rt = RegressionTester(DEACheck, model_path, 'dea_test_spec.json',
        test_root=test_root, sub_dir='acis')
    rt.run_models(state_builder='acis')
    return rt


@pytest.mark.parametrize('load', all_loads)
def test_prediction(dea_rt, answer_store, load):
    dea_rt.run_test('prediction', load, answer_store=answer_store)


@pytest.mark.parametrize('load', all_loads)
def test_validation(dea_rt, answer_store, load):
    dea_rt.run_test('validation', load, answer_store=answer_store)

from ..dea_check import model_path, DEACheck
from acis_thermal_check.regression_testing import RegressionTester, all_loads
import pytest


@pytest.fixture(autouse=True, scope='module')
def dea_rt(test_root):
    rt = RegressionTester(DEACheck, model_path, 'dea_test_spec.json',
        test_root=test_root, sub_dir='acis')
    rt.run_models(state_builder='acis')
    return rt


@pytest.mark.parametrize('load', all_loads)
def test_prediction(dea_rt, answer_store, load):
    dea_rt.run_test('prediction', load, answer_store=answer_store)


@pytest.mark.parametrize('load', all_loads)
def test_validation(dea_rt, answer_store, load):
    dea_rt.run_test('validation', load, answer_store=answer_store)

from ..dea_check import model_path, DEACheck
from acis_thermal_check.regression_testing import \
    RegressionTester, all_loads
import pytest


@pytest.fixture(autouse=True, scope='module')
def dea_rt(test_root):
    # ACIS state builder tests
    rt = RegressionTester(DEACheck, model_path, "dea_test_spec.json",
                          test_root=test_root, sub_dir='acis')
    rt.run_models(state_builder='acis')
    return rt

# Prediction tests

@pytest.mark.parametrize('load', all_loads)
def test_prediction(dea_rt, answer_store, load):
    dea_rt.run_test("prediction", load, answer_store=answer_store)

# Validation tests

@pytest.mark.parametrize('load', all_loads)
def test_validation(dea_rt, answer_store, load):
    dea_rt.run_test("validation", load, answer_store=answer_store)
