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 29, 2024
1 parent 2f1dc47 commit cf87a64
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 @@ -168,9 +168,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 @@ -204,9 +202,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 cf87a64

Please sign in to comment.