From fb90d5ec0b922ed45685038bf156c2ac4d3cf0e6 Mon Sep 17 00:00:00 2001 From: palewire Date: Thu, 10 Oct 2024 10:07:45 -0400 Subject: [PATCH] Update tests --- Makefile | 3 +++ tests/test_input.py | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) 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():