diff --git a/test/test_simplesqlite.py b/test/test_simplesqlite.py index 74ccb25..ac70ce5 100644 --- a/test/test_simplesqlite.py +++ b/test/test_simplesqlite.py @@ -70,6 +70,13 @@ def test_normal_con(self, mode): assert con.database_path assert con.connection + def test_normal_connect_kwargs(self, tmpdir): + p = tmpdir.join("test.sqlite3") + db_path = str(p) + con = SimpleSQLite(db_path, timeout=10) + assert con.database_path is None + assert con.connection + @pytest.mark.parametrize( ["value", "mode", "expected"], [