Skip to content

Commit

Permalink
incorrectly lost underscore
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanCoding committed Dec 6, 2024
1 parent 2e3a76c commit 5e11b51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_app/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def test_migrations_okay(*args, **kwargs):

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

0 comments on commit 5e11b51

Please sign in to comment.