Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
palewire committed Oct 10, 2024
1 parent 0f4774a commit fb90d5e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 3 additions & 3 deletions tests/test_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit fb90d5e

Please sign in to comment.