Add parameter name to calls
This commit is contained in:
1 parent
fe2fa4f9cb
commit
52a5964237
1 file changed
+3
-3
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user