Skip to content

Commit fb90d5e

Browse files
committed
Update tests
1 parent 0f4774a commit fb90d5e

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,7 @@ update:
44
pipenv run python sample.py
55

66

7+
test:
8+
pipenv run pytest -n auto --cov=cpi --cov-report term-missing tests
9+
710
.PHONY: update

tests/test_input.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
LATEST_YEAR = 2023
2020
LATEST_YEAR_1950_ALL_ITEMS = 1264.323651452282
2121
LATEST_YEAR_1950_CUSR0000SA0 = 1264.323651452282
22-
LATEST_MONTH = date(2024, 7, 1)
23-
LATEST_MONTH_1950_ALL_ITEMS = 1338.4680851063831
24-
LATEST_MONTH_1950_CUSR0000SA0 = 1333.6197362824328
22+
LATEST_MONTH = date(2024, 9, 1)
23+
LATEST_MONTH_1950_ALL_ITEMS = 1341.7063829787232
24+
LATEST_MONTH_1950_CUSR0000SA0 = 1338.5197788175244
2525

2626

2727
def test_latest_year():

0 commit comments

Comments
 (0)