From d00fbcab95bf5168fe451a3a901cb038c9dbe635 Mon Sep 17 00:00:00 2001 From: zandercymatics <141044360+zandercymatics@users.noreply.github.com> Date: Wed, 10 Jan 2024 08:54:08 -0700 Subject: [PATCH] Linting --- src/registrar/management/commands/populate_first_ready.py | 2 +- src/registrar/tests/test_views.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/registrar/management/commands/populate_first_ready.py b/src/registrar/management/commands/populate_first_ready.py index c4ddcb043..9636476c2 100644 --- a/src/registrar/management/commands/populate_first_ready.py +++ b/src/registrar/management/commands/populate_first_ready.py @@ -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 diff --git a/src/registrar/tests/test_views.py b/src/registrar/tests/test_views.py index 1180da0e6..04b523af3 100644 --- a/src/registrar/tests/test_views.py +++ b/src/registrar/tests/test_views.py @@ -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()