From 69eed74fd85080e0a3cca4aa95988e81baee036b Mon Sep 17 00:00:00 2001 From: Margriet Palm Date: Tue, 6 Aug 2024 16:00:24 +0200 Subject: [PATCH] Fall back to using sqlite for testing --- threedigrid_builder/tests/conftest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/threedigrid_builder/tests/conftest.py b/threedigrid_builder/tests/conftest.py index 9b35be87..0946ab0c 100644 --- a/threedigrid_builder/tests/conftest.py +++ b/threedigrid_builder/tests/conftest.py @@ -34,8 +34,8 @@ def db(tmp_path_factory): """Yields a threedigrid_builder.interface.db.SQLite object with access to the test v2_bergermeer.gpkg.""" - fn = tmp_path_factory.mktemp("data") / "v2_bergermeer.gpkg" - sqlite_path = data_path / "v2_bergermeer.gpkg" + fn = tmp_path_factory.mktemp("data") / "v2_bergermeer.sqlite" + sqlite_path = data_path / "v2_bergermeer.sqlite" shutil.copyfile(sqlite_path, fn) if not os.path.isfile(fn): pytest.skip("sample sqlite is not available", allow_module_level=True)