Skip to content

Commit

Permalink
Liberalized test.
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtylerwalls committed Aug 7, 2021
1 parent 7c6a9c9 commit 59034a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/migrations/test_commands.py
Expand Up @@ -1544,7 +1544,7 @@ class Meta:
err = io.StringIO()
with self.temporary_migration_module(module='migrations.migrations'):
call_command('makemigrations', 'migrations', separatelogs=True, stdout=out, stderr=err)
self.assertIn('/migrations/0001_initial.py\n', out.getvalue())
self.assertIn('0001_initial.py\n', out.getvalue())
self.assertIn(' - Create model ModelWithCustomBase\n', err.getvalue())
self.assertNotIn(' - Create model ModelWithCustomBase\n', out.getvalue())

Expand Down

0 comments on commit 59034a4

Please sign in to comment.