This commit is contained in:
zandercymatics 2024-01-10 08:54:08 -07:00
parent 38d6ffb3b0
commit d00fbcab95
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
2 changed files with 3 additions and 3 deletions

View file

@ -47,7 +47,7 @@ class Command(BaseCommand):
logger.error(err) logger.error(err)
logger.error(f"{TerminalColors.FAIL}" f"Failed to update {domain}" f"{TerminalColors.ENDC}") logger.error(f"{TerminalColors.FAIL}" f"Failed to update {domain}" f"{TerminalColors.ENDC}")
# Do a bulk update on all fields # Do a bulk update on the first_ready field
ScriptDataHelper.bulk_update_fields(Domain, self.to_update, ["first_ready"]) ScriptDataHelper.bulk_update_fields(Domain, self.to_update, ["first_ready"])
# Log what happened # Log what happened

View file

@ -41,6 +41,7 @@ import logging
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
class TestViews(TestCase): class TestViews(TestCase):
def setUp(self): def setUp(self):
self.client = Client() self.client = Client()
@ -1495,7 +1496,6 @@ class TestDomainOverview(TestWithDomainPermissions, WebTest):
class TestDomainDetail(TestDomainOverview): class TestDomainDetail(TestDomainOverview):
def tearDown(self): def tearDown(self):
super().tearDown() super().tearDown()
Domain.objects.all().delete() Domain.objects.all().delete()