We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e3a76c commit 5e11b51Copy full SHA for 5e11b51
test_app/tests/conftest.py
@@ -56,7 +56,7 @@ def test_migrations_okay(*args, **kwargs):
56
57
migration_module = app_config.module.migrations
58
for step in dir(migration_module):
59
- if not re.match(r'\d{4}', step):
+ if not re.match(r'\d{4}_', step):
60
continue
61
step_module = getattr(migration_module, step)
62
migration_name = step_module.__name__.rsplit('.')[-1]
0 commit comments