Skip to content

Commit

Permalink
typehinting and commentary modified
Browse files Browse the repository at this point in the history
  • Loading branch information
nforsg committed Jul 11, 2023
1 parent 2946ad2 commit dc31df0
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ def get_node_status(ip: str, port: int) -> NodeStatusDTO:
return get_node_status_mock

@staticmethod
def cluster_node_status(example_config, example_node_status) -> List[dict]:
def cluster_node_status(example_config: Config,
example_node_status: NodeStatusDTO) -> List[dict]:
config = example_config
cluster_statuses = []
for node in config.cluster_config.cluster_nodes:
Expand Down Expand Up @@ -118,8 +119,6 @@ def test_cluster_status_get(self, flask_app, mocker,
:param not_logged_in: the not_logged_in fixture
:param get_: the config fixture
:param node_status: the node_status fixture
:param start: the start fixture
:param stop: the stop fixture
:return: None
"""
test_ns = TestResourcesClusterStatusSuite.cluster_node_status(example_config,
Expand Down

0 comments on commit dc31df0

Please sign in to comment.