Skip to content

Commit 1d3c1c3

Browse files
committed
Fix migration code coverage exclusion
1 parent 6ff4173 commit 1d3c1c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tekst-API/tekst/db/migrations/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def _sort_migrations(migrations: MigrationsDict) -> MigrationsDict:
1919
def _all_migrations() -> MigrationsDict:
2020
all_migrations = dict()
2121
for mig_mod in iter_modules(__path__):
22-
if not mig_mod.name.startswith("migration_"):
22+
if not mig_mod.name.startswith("migration_"): # pragma: no cover
2323
continue
2424
mig_name = mig_mod.name.replace("migration_", "").replace("_", ".")
2525
mig_fn = import_module(f"{__name__}.{mig_mod.name}").migration

0 commit comments

Comments
 (0)