Skip to content

Commit 64a17b4

Browse files
committed
test(system): add management health smoke test
1 parent 3a1401d commit 64a17b4

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
"""Smoke tests for Django management health commands."""
2+
3+
from django.core.management import call_command
4+
from django.test import SimpleTestCase
5+
6+
7+
class ManagementHealthTests(SimpleTestCase):
8+
"""Ensure critical management commands run without raising errors."""
9+
10+
def test_system_check_succeeds(self) -> None:
11+
"""Running ``manage.py check`` should complete without issues."""
12+
call_command("check")

0 commit comments

Comments
 (0)