Skip to content

Commit 5e11b51

Browse files
committed
incorrectly lost underscore
1 parent 2e3a76c commit 5e11b51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test_app/tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def test_migrations_okay(*args, **kwargs):
5656

5757
migration_module = app_config.module.migrations
5858
for step in dir(migration_module):
59-
if not re.match(r'\d{4}', step):
59+
if not re.match(r'\d{4}_', step):
6060
continue
6161
step_module = getattr(migration_module, step)
6262
migration_name = step_module.__name__.rsplit('.')[-1]

0 commit comments

Comments
 (0)