Skip to content

Commit 0b8378e

Browse files
committed
format issues of list all organisations page
1 parent d40b8c3 commit 0b8378e

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

pages/organisations/list_all_organisations.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
from pages.base_page import BasePage
33
from enum import StrEnum
44

5+
56
class ListAllOrganisations(BasePage):
67
"""Organisations And Site Details Page locators, and methods for interacting with the page."""
78

@@ -12,15 +13,15 @@ def __init__(self, page: Page):
1213
# List All Organisations links
1314
self.select_organisation_type = self.page.locator("#organisationType")
1415

15-
def select_organisation_type_option(self, option: str) -> None:
16+
def select_organisation_type_option(self, option: str) -> None:
1617
"""
1718
This method is designed to select a specific organisation type from the List All Organisations page.
1819
Args:
1920
option (str): The organisation type option to be selected. This should be a string that matches one of the available options in the dropdown menu.
2021
Returns:
2122
None
2223
"""
23-
self.select_organisation_type.select_option(option)
24+
self.select_organisation_type.select_option(option)
2425

2526

2627
class OrganisationType(StrEnum):
@@ -31,8 +32,8 @@ class OrganisationType(StrEnum):
3132
CCG = "1006"
3233
CARE_TRUST = "1007"
3334
GP_PRACTICE = "1009"
34-
ICB= "1004"
35-
IT_CLUSTER="1001"
35+
ICB = "1004"
36+
IT_CLUSTER = "1001"
3637
NHS_BOWEL_CANCER_SCREENING_PROGRAMME = "1000"
3738
NHS_TRUST = "1005"
38-
PUBLIC_HEALTH_ENGLAND= "202130"
39+
PUBLIC_HEALTH_ENGLAND = "202130"

0 commit comments

Comments
 (0)