Chore: Remove old migrations and re-create them fresh for v3 (#11854)

This commit is contained in:
Trenton H
2026-01-24 15:02:56 -08:00
committed by GitHub
parent 2d9717a330
commit 4271812c2d
154 changed files with 2337 additions and 12615 deletions
+12
View File
@@ -1,4 +1,6 @@
import os
import shutil
import tempfile
from pathlib import Path
from unittest import mock
@@ -16,9 +18,19 @@ class TestSystemStatus(APITestCase):
ENDPOINT = "/api/status/"
def setUp(self):
super().setUp()
self.user = User.objects.create_superuser(
username="temp_admin",
)
self.tmp_dir = Path(tempfile.mkdtemp())
self.override = override_settings(MEDIA_ROOT=self.tmp_dir)
self.override.enable()
def tearDown(self):
super().tearDown()
self.override.disable()
shutil.rmtree(self.tmp_dir)
def test_system_status(self):
"""