Skip to content

Commit

Permalink
fix ignored tables setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Caha committed Dec 9, 2023
1 parent 04d0a51 commit cfabb8b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
{
Expand Down

0 comments on commit cfabb8b

Please sign in to comment.