Skip to content

Commit ba6d714

Browse files
committed
Fix typo in docstring and clean up conditional checks in block network test
1 parent d2866c9 commit ba6d714

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/roles/ha_db_hana/block_network_test.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def test_environment(self, ansible_inventory):
3232
:param task_type: Dictionary with task configuration details.
3333
:type task_type: dict
3434
:yield temp_dir: Path to the temporary test environment.
35-
:ytype: str
35+
:type: str
3636
"""
3737

3838
task_counter_file = "/tmp/get_cluster_status_counter_block-network"
@@ -131,9 +131,7 @@ def test_functional_db_primary_node_success(self, test_environment, ansible_inve
131131
assert task_result.get("rc") == 0
132132
elif task and "Pre Validation: Validate HANA DB" in task:
133133
pre_status = task_result
134-
elif (
135-
task and "Test Execution: Validate HANA DB cluster status 2" in task
136-
):
134+
elif task and "Test Execution: Validate HANA DB cluster status 2" in task:
137135
post_status = task_result
138136
elif task and "Remove any location_constraints" in task:
139137
assert task_result.get("changed")

0 commit comments

Comments
 (0)