This commit is contained in:
zandercymatics 2024-09-20 11:48:37 -06:00
parent 16076a1b75
commit 2f2dec715c
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
3 changed files with 4 additions and 2 deletions

View file

@ -290,4 +290,3 @@ def request_step_list(request_wizard):
if condition: if condition:
step_list.append(step) step_list.append(step)
return step_list return step_list

View file

@ -3061,4 +3061,4 @@ class TestPortfolioDomainRequestViewonly(TestWithUser, WebTest):
self.assertContains(detail_page, "Requesting entity") self.assertContains(detail_page, "Requesting entity")
self.assertNotContains(detail_page, "Type of organization") self.assertNotContains(detail_page, "Type of organization")
self.assertContains(detail_page, "city.gov") self.assertContains(detail_page, "city.gov")
self.assertContains(detail_page, "Status:") self.assertContains(detail_page, "Status:")

View file

@ -3,6 +3,7 @@
from enum import Enum from enum import Enum
from registrar.utility import StrEnum from registrar.utility import StrEnum
class ValidationReturnType(Enum): class ValidationReturnType(Enum):
"""Determines the return value of the validate_and_handle_errors class""" """Determines the return value of the validate_and_handle_errors class"""
@ -64,6 +65,7 @@ class Step(StrEnum):
REQUIREMENTS = "requirements" REQUIREMENTS = "requirements"
REVIEW = "review" REVIEW = "review"
class PortfolioDomainRequestStep(StrEnum): class PortfolioDomainRequestStep(StrEnum):
""" """
Names for each page of the portfolio domain request wizard. Names for each page of the portfolio domain request wizard.
@ -71,6 +73,7 @@ class PortfolioDomainRequestStep(StrEnum):
As with Django's own `TextChoices` class, steps will As with Django's own `TextChoices` class, steps will
appear in the order they are defined. (Order matters.) appear in the order they are defined. (Order matters.)
""" """
# Portfolio # Portfolio
REQUESTING_ENTITY = "organization_name" REQUESTING_ENTITY = "organization_name"
CURRENT_SITES = "current_sites" CURRENT_SITES = "current_sites"