From cfabb8b916f10dc57d1a32a9498cc4e04012628e Mon Sep 17 00:00:00 2001 From: Jan Caha Date: Sat, 9 Dec 2023 14:07:57 +0100 Subject: [PATCH] fix ignored tables setup --- test/conftest.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/conftest.py b/test/conftest.py index 45bd5d1..49f9af5 100644 --- a/test/conftest.py +++ b/test/conftest.py @@ -147,7 +147,10 @@ def init_sync_from_geopackage(mc, project_name, source_gpkg_path, ignored_tables } if ignored_tables: - connection["skip_tables"] = (ignored_tables,) + if isinstance(ignored_tables, str): + connection["skip_tables"] = [ignored_tables] + elif isinstance(ignored_tables, list): + connection["skip_tables"] = ignored_tables config.update( {