Update tests to extend check_table_name
This commit is contained in:
1 parent
43eb34ea7e
commit
f4adb27cc6
1 file changed
+3
-2
+3
-2
@@ -13,8 +13,9 @@ from data.database import PowerballDraw, MegaMillionsDraw
|
|||||||
|
|
||||||
|
|
||||||
def test_check_table_name() -> None:
|
def test_check_table_name() -> None:
|
||||||
assert ud.check_table_name('PowerballDraw')
|
assert isinstance(ud.check_table_name('PowerballDraw'), dict)
|
||||||
assert not ud.check_table_name('SomeNoneExistentTableName')
|
assert isinstance(ud.check_table_name('MegaMillionsDraw'), dict)
|
||||||
|
assert ud.check_table_name('SomeNoneExistentTableName') is None
|
||||||
|
|
||||||
|
|
||||||
def test_convert_string_to_integer() -> None:
|
def test_convert_string_to_integer() -> None:
|
||||||
|
|||||||
Reference in new issue
Block a user