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 dc496a9 commit e7b794eCopy full SHA for e7b794e
tests/apps/migrations/commands/test_forwards_backwards.py
@@ -33,9 +33,7 @@
33
@postgres_only
34
class TestForwardsBackwards(TestCase):
35
"""
36
- How to test this? Add migrations for the example app, and just run them
37
- forwards and backwards. Or create a new app with loads of migrations in
38
- it.
+ Test the forwards and backwards migration commands.
39
40
41
def test_forwards_backwards_all_migrations(self):
@@ -151,6 +149,7 @@ def test_forwards_fake(self):
151
149
152
150
self.assertEqual(
153
ran_migration_names,
+ # TODO - rather than hardcoding, might fetch these dynamically.
154
[
155
"2020-12-17T18:44:30",
156
"2020-12-17T18:44:39",
0 commit comments