Skip to content

Commit

Permalink
0.26
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Osypenko <[email protected]>
  • Loading branch information
DanielOsypenko committed Jul 18, 2024
1 parent c0fd678 commit c9df3a7
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tests/libtest/test_provider_create_hosted_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,7 @@ def test_create_hosted_cluster_with_fixture(
log_step("Switch to the hosted cluster")
ocsci_config.switch_to_cluster_by_name(cluster_name)

server = str(
OCP().exec_oc_cmd("oc whoami --show-server", out_yaml_format=False)
)
server = str(OCP().exec_oc_cmd("whoami --show-server", out_yaml_format=False))

assert (
cluster_name in server
Expand Down Expand Up @@ -195,9 +193,7 @@ def test_create_destroy_hosted_cluster_with_fixture(
log_step("Switch to the hosted cluster")
ocsci_config.switch_to_cluster_by_name(cluster_name)

server = str(
OCP().exec_oc_cmd("oc whoami --show-server", out_yaml_format=False)
)
server = str(OCP().exec_oc_cmd("whoami --show-server", out_yaml_format=False))

assert (
cluster_name in server
Expand Down

0 comments on commit c9df3a7

Please sign in to comment.