Remove unused variable names

This commit is contained in:
zandercymatics 2024-07-09 14:03:52 -06:00
parent 92f269c69e
commit 9a44f6b65a
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -939,11 +939,11 @@ class TestDomainRequestAdmin(MockEppLib):
def test_domain_request_senior_official_is_alphabetically_sorted(self): def test_domain_request_senior_official_is_alphabetically_sorted(self):
"""Tests if the senior offical dropdown is alphanetically sorted in the django admin display""" """Tests if the senior offical dropdown is alphanetically sorted in the django admin display"""
third_official = SeniorOfficial.objects.get_or_create( SeniorOfficial.objects.get_or_create(
first_name="mary", last_name="joe", title="some other guy" first_name="mary", last_name="joe", title="some other guy"
) )
first_official = SeniorOfficial.objects.get_or_create(first_name="alex", last_name="smoe", title="some guy") SeniorOfficial.objects.get_or_create(first_name="alex", last_name="smoe", title="some guy")
second_official = SeniorOfficial.objects.get_or_create(first_name="Zoup", last_name="Soup", title="title") SeniorOfficial.objects.get_or_create(first_name="Zoup", last_name="Soup", title="title")
contact, _ = Contact.objects.get_or_create(user=self.staffuser) contact, _ = Contact.objects.get_or_create(user=self.staffuser)
domain_request = completed_domain_request(submitter=contact, name="city1.gov") domain_request = completed_domain_request(submitter=contact, name="city1.gov")
@ -2948,11 +2948,11 @@ class TestDomainInformationAdmin(TestCase):
def test_domain_information_senior_official_is_alphabetically_sorted(self): def test_domain_information_senior_official_is_alphabetically_sorted(self):
"""Tests if the senior offical dropdown is alphanetically sorted in the django admin display""" """Tests if the senior offical dropdown is alphanetically sorted in the django admin display"""
third_official = SeniorOfficial.objects.get_or_create( SeniorOfficial.objects.get_or_create(
first_name="mary", last_name="joe", title="some other guy" first_name="mary", last_name="joe", title="some other guy"
) )
first_official = SeniorOfficial.objects.get_or_create(first_name="alex", last_name="smoe", title="some guy") SeniorOfficial.objects.get_or_create(first_name="alex", last_name="smoe", title="some guy")
second_official = SeniorOfficial.objects.get_or_create(first_name="Zoup", last_name="Soup", title="title") SeniorOfficial.objects.get_or_create(first_name="Zoup", last_name="Soup", title="title")
contact, _ = Contact.objects.get_or_create(user=self.staffuser) contact, _ = Contact.objects.get_or_create(user=self.staffuser)
domain_request = completed_domain_request( domain_request = completed_domain_request(