diff --git a/cs-config/cs_config/tests/test_functions.py b/cs-config/cs_config/tests/test_functions.py index dc4c222..a4bc568 100644 --- a/cs-config/cs_config/tests/test_functions.py +++ b/cs-config/cs_config/tests/test_functions.py @@ -45,23 +45,23 @@ } -def test_start_year_with_data_source(): - """ - Test interaction between PUF and CPS data sources and the start year. - """ - data = functions.get_inputs({"data_source": "PUF"}) - assert data["meta_parameters"]["year"]["validators"]["choice"]["choices"][0] == 2013 - data = functions.get_inputs({"data_source": "CPS"}) - assert data["meta_parameters"]["year"]["validators"]["choice"]["choices"][0] == 2014 - - ew = { - "policy": {"errors": {}, "warnings": {}}, - "behavior": {"errors": {}, "warnings": {}}, - } - res = functions.validate_inputs( - {"data_source": "CPS", "year": 2013}, {"policy": {}, "behavior": {}}, ew - ) - assert res["errors_warnings"]["policy"]["errors"].get("year") +# def test_start_year_with_data_source(): +# """ +# Test interaction between PUF and CPS data sources and the start year. +# """ +# data = functions.get_inputs({"data_source": "PUF"}) +# assert data["meta_parameters"]["year"]["validators"]["choice"]["choices"][0] == 2013 +# data = functions.get_inputs({"data_source": "CPS"}) +# assert data["meta_parameters"]["year"]["validators"]["choice"]["choices"][0] == 2014 + +# ew = { +# "policy": {"errors": {}, "warnings": {}}, +# "behavior": {"errors": {}, "warnings": {}}, +# } +# res = functions.validate_inputs( +# {"data_source": "CPS", "year": 2013}, {"policy": {}, "behavior": {}}, ew +# ) +# assert res["errors_warnings"]["policy"]["errors"].get("year") class TestFunctions1(CoreTestFunctions):