mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-12 07:24:48 +02:00
linting
This commit is contained in:
parent
16076a1b75
commit
2f2dec715c
3 changed files with 4 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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:")
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue