Skip to content

Commit af38253

Browse files
committed
Lint
1 parent ea8562e commit af38253

File tree

4 files changed

+13
-7
lines changed

4 files changed

+13
-7
lines changed

tests/interop/test_subscription_status_edge.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ def test_subscription_status_edge(openshift_dyn_client):
1515
"openshift-gitops-operator": ["openshift-operators"],
1616
}
1717

18-
err_msg = subscription.subscription_status(openshift_dyn_client, expected_subs, diff=False)
18+
err_msg = subscription.subscription_status(
19+
openshift_dyn_client, expected_subs, diff=False
20+
)
1921
if err_msg:
2022
logger.error(f"FAIL: {err_msg}")
2123
assert False, err_msg

tests/interop/test_subscription_status_hub.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ def test_subscription_status_hub(openshift_dyn_client):
1717
"multicluster-engine": ["multicluster-engine"],
1818
}
1919

20-
err_msg = subscription.subscription_status(openshift_dyn_client, expected_subs, diff=True)
20+
err_msg = subscription.subscription_status(
21+
openshift_dyn_client, expected_subs, diff=True
22+
)
2123
if err_msg:
2224
logger.error(f"FAIL: {err_msg}")
2325
assert False, err_msg

tests/interop/test_validate_edge_site_components.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ def test_validate_argocd_applications_health_edge_site(openshift_dyn_client):
6464
logger.info("Get all applications deployed by argocd on edge site")
6565
projects = ["openshift-gitops"]
6666
unhealthy_apps = application.get_argocd_application_status(
67-
openshift_dyn_client, projects
68-
)
67+
openshift_dyn_client, projects
68+
)
6969
if unhealthy_apps:
7070
err_msg = "Some or all applications deployed on edge site are unhealthy"
7171
logger.error(f"FAIL: {err_msg}:\n{unhealthy_apps}")

tests/interop/test_validate_hub_site_components.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ def test_check_pod_status(openshift_dyn_client):
6060
def test_validate_acm_self_registration_managed_clusters(openshift_dyn_client):
6161
logger.info("Check ACM self registration for edge site")
6262
kubefiles = [os.getenv("KUBECONFIG_EDGE")]
63-
err_msg = components.validate_acm_self_registration_managed_clusters(openshift_dyn_client, kubefiles)
63+
err_msg = components.validate_acm_self_registration_managed_clusters(
64+
openshift_dyn_client, kubefiles
65+
)
6466
if err_msg:
6567
logger.error(f"FAIL: {err_msg}")
6668
assert False, err_msg
@@ -84,8 +86,8 @@ def test_validate_argocd_applications_health_hub_site(openshift_dyn_client):
8486
logger.info("Get all applications deployed by argocd on hub site")
8587
projects = ["openshift-gitops", "multicloud-gitops-hub"]
8688
unhealthy_apps = application.get_argocd_application_status(
87-
openshift_dyn_client, projects
88-
)
89+
openshift_dyn_client, projects
90+
)
8991
if unhealthy_apps:
9092
err_msg = "Some or all applications deployed on hub site are unhealthy"
9193
logger.error(f"FAIL: {err_msg}:\n{unhealthy_apps}")

0 commit comments

Comments
 (0)