Skip to content

Commit d7d5830

Browse files
committed
Cleanup, fix test declaration
1 parent 068f026 commit d7d5830

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

simple_history/tests/tests/test_commands.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,10 @@ def test_no_historical(self):
111111
@skipUnless(django.get_version() >= "1.7", "Requires 1.7 migrations")
112112
class TestMigrate(TestCase):
113113

114-
def test_migrate_command(self):
115-
management.call_command('makemigration', 'migration_test_app', stdout=StringIO())
114+
def test_makemigration_command(self):
115+
management.call_command(
116+
'makemigrations', 'migration_test_app', stdout=StringIO())
116117

117118
def test_migrate_command(self):
118-
management.call_command('migrate', 'migration_test_app', fake=True, stdout=StringIO())
119+
management.call_command(
120+
'migrate', 'migration_test_app', fake=True, stdout=StringIO())

0 commit comments

Comments
 (0)