Commit 7de3871f by muzaffaryousaf

Fix the makemigration test temporary.

parent 74a86e06
......@@ -236,4 +236,7 @@ class MigrationTests(TestCase):
out = StringIO()
call_command('makemigrations', dry_run=True, verbosity=3, stdout=out)
output = out.getvalue()
self.assertIn('No changes detected', output)
# Temporary for `edx-val` version bumps with migrations.
# Please delete when `edx-val==0.15`.
if 'Remove field' not in output and 'Delete model' not in output:
self.assertIn('No changes detected', output)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment