Skip to content

Commit

Permalink
Fix linting issues in python test code
Browse files Browse the repository at this point in the history
  • Loading branch information
mbaldessari committed Jun 29, 2024
1 parent 56c9211 commit 7a4b050
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/interop/test_validate_edge_site_components.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def test_validate_argocd_reachable_edge_site(openshift_dyn_client):
sub_string="argocd-dex-server-token",
)
if not bearer_token:
err_msg = f"Bearer token is missing for argocd-dex-server"
err_msg = "Bearer token is missing for argocd-dex-server"
logger.error(f"FAIL: {err_msg}")
assert False, err_msg
else:
Expand Down
4 changes: 1 addition & 3 deletions tests/interop/test_validate_hub_site_components.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,7 @@ def test_validate_argocd_reachable_hub_site(openshift_dyn_client):
sub_string="argocd-dex-server-token",
)
if not bearer_token:
err_msg = (
"Bearer token is missing for argocd-dex-server"
)
err_msg = "Bearer token is missing for argocd-dex-server"
logger.error(f"FAIL: {err_msg}")
assert False, err_msg
else:
Expand Down

0 comments on commit 7a4b050

Please sign in to comment.