Skip to content

Commit

Permalink
Run sqlmigrate to test if migrations work
Browse files Browse the repository at this point in the history
  • Loading branch information
andreif committed Nov 17, 2015
1 parent 6c6a704 commit c747820
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions django_enumfield/tests/test_enum.py
Expand Up @@ -133,6 +133,7 @@ def test_migration(self):
self.assertTrue(not exists(migrations_dir))

call_command('makemigrations', 'tests')
call_command('sqlmigrate', 'tests', '0001')


class EnumTest(TestCase):
Expand Down

0 comments on commit c747820

Please sign in to comment.