Fix linting and tets

This commit is contained in:
Rebecca Hsieh 2023-09-06 16:40:57 -07:00
parent 696941aba7
commit 34a2f39fdf
No known key found for this signature in database
GPG key ID: 644527A2F375A379
8 changed files with 35 additions and 73 deletions

View file

@ -315,8 +315,7 @@ class TestDomainApplicationAdmin(TestCase):
request.user = self.superuser
readonly_fields = self.admin.get_readonly_fields(request, application)
# TODO-446: Add about_your_organization + remove type_of_work and more_organization_information
expected_fields = [
"id",
"created_at",
@ -338,8 +337,7 @@ class TestDomainApplicationAdmin(TestCase):
"state_territory",
"zipcode",
"urbanization",
"type_of_work",
"more_organization_information",
"about_your_organization",
"authorizing_official",
"approved_domain",
"requested_domain",
@ -361,11 +359,9 @@ class TestDomainApplicationAdmin(TestCase):
readonly_fields = self.admin.get_readonly_fields(request)
# TODO-446: Add about_your_organization + remove type_of_work and more_organization_information
expected_fields = [
"creator",
"type_of_work",
"more_organization_information",
"about_your_organization",
"address_line1",
"address_line2",
"zipcode",