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(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"])
# Log what happened

View file

@ -37,10 +37,11 @@ from registrar.models import (
from registrar.views.application import ApplicationWizard, Step
from .common import less_console_noise
import logging
import logging
logger = logging.getLogger(__name__)
class TestViews(TestCase):
def setUp(self):
self.client = Client()
@ -1495,7 +1496,6 @@ class TestDomainOverview(TestWithDomainPermissions, WebTest):
class TestDomainDetail(TestDomainOverview):
def tearDown(self):
super().tearDown()
Domain.objects.all().delete()