mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-27 04:58:42 +02:00
Be explicit when swapping between enum / portfolio types
Centralizes all config options at the start of the class
This commit is contained in:
parent
9a2e031979
commit
221e236775
3 changed files with 138 additions and 124 deletions
|
@ -43,7 +43,7 @@ class DomainRequestTests(TestWithUser, WebTest):
|
|||
super().setUp()
|
||||
self.federal_agency, _ = FederalAgency.objects.get_or_create(agency="General Services Administration")
|
||||
self.app.set_user(self.user.username)
|
||||
self.TITLES = DomainRequestWizard.TITLES
|
||||
self.TITLES = DomainRequestWizard.titles
|
||||
|
||||
def tearDown(self):
|
||||
super().tearDown()
|
||||
|
@ -3186,7 +3186,7 @@ class TestPortfolioDomainRequestViewonly(TestWithUser, WebTest):
|
|||
super().setUp()
|
||||
self.federal_agency, _ = FederalAgency.objects.get_or_create(agency="General Services Administration")
|
||||
self.app.set_user(self.user.username)
|
||||
self.TITLES = DomainRequestWizard.TITLES
|
||||
self.TITLES = DomainRequestWizard.titles
|
||||
|
||||
def tearDown(self):
|
||||
super().tearDown()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue