Skip to content

Commit d07c086

Browse files
authored
Removed redundant pending migrations check
The check is handled by djangoproject.tests.PendingMigrationsTests
1 parent 610ed05 commit d07c086

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ migrations-check:
3131
run:
3232
python -m manage runserver 0.0.0.0:8000
3333

34-
test: migrations-check
34+
test:
3535
@python -m coverage run --source=. --module manage test --verbosity 2 $(APP_LIST)
3636

3737
watch-scss:

djangoproject/tests.py

+1
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ def test_www_host_with_port(self):
118118
self.assertIn("Vary", resp)
119119

120120

121+
# https://adamj.eu/tech/2024/06/23/django-test-pending-migrations/
121122
class PendingMigrationsTests(TestCase):
122123
def test_no_pending_migrations(self):
123124
out = StringIO()

0 commit comments

Comments
 (0)