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 be27bf3 commit 2e3a76cCopy full SHA for 2e3a76c
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\d\d\d_', 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