diff --git a/Makefile b/Makefile index b196c44..3869e30 100644 --- a/Makefile +++ b/Makefile @@ -4,4 +4,7 @@ update: pipenv run python sample.py +test: + pipenv run pytest -n auto --cov=cpi --cov-report term-missing tests + .PHONY: update diff --git a/tests/test_input.py b/tests/test_input.py index 529854e..cf6d44e 100644 --- a/tests/test_input.py +++ b/tests/test_input.py @@ -19,9 +19,9 @@ LATEST_YEAR = 2023 LATEST_YEAR_1950_ALL_ITEMS = 1264.323651452282 LATEST_YEAR_1950_CUSR0000SA0 = 1264.323651452282 -LATEST_MONTH = date(2024, 7, 1) -LATEST_MONTH_1950_ALL_ITEMS = 1338.4680851063831 -LATEST_MONTH_1950_CUSR0000SA0 = 1333.6197362824328 +LATEST_MONTH = date(2024, 9, 1) +LATEST_MONTH_1950_ALL_ITEMS = 1341.7063829787232 +LATEST_MONTH_1950_CUSR0000SA0 = 1338.5197788175244 def test_latest_year():