mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-12 14:08:28 +02:00
Linting
This commit is contained in:
parent
38d6ffb3b0
commit
d00fbcab95
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -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()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue