From 52a5964237f78bbae761d5a74148d46d74a2dbc1 Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Fri, 6 Mar 2026 00:15:38 -0500 Subject: [PATCH] Add parameter name to calls --- tests/test_lottery_predictor_collect.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_lottery_predictor_collect.py b/tests/test_lottery_predictor_collect.py index 39edccd..2cafa36 100644 --- a/tests/test_lottery_predictor_collect.py +++ b/tests/test_lottery_predictor_collect.py @@ -5,10 +5,10 @@ import lottery_predictor.collect as collect def test_get_record_count() -> None: - assert isinstance(collect.get_record_count('PowerballDraw'), int) - assert isinstance(collect.get_record_count('MegaMillionsDraw'), int) + assert isinstance(collect.get_record_count(table_name='PowerballDraw'), int) + assert isinstance(collect.get_record_count(table_name='MegaMillionsDraw'), int) with pytest.raises(ValueError): - collect.get_record_count('SomeNonExistentTable') + collect.get_record_count(table_name='SomeNonExistentTable') def test_get_recent_draw_date() -> None: