Skip to content

Commit

Permalink
Fix ats tests for newer versions (#256)
Browse files Browse the repository at this point in the history
* Delete tests/ats/Pipfile.lock

* Rename chart_extra_info
  • Loading branch information
stone-z authored Dec 6, 2023
1 parent 6a58f29 commit 80549b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 276 deletions.
273 changes: 0 additions & 273 deletions tests/ats/Pipfile.lock

This file was deleted.

6 changes: 3 additions & 3 deletions tests/ats/test_basic_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ def test_api_working(kube_cluster: Cluster) -> None:

@pytest.mark.smoke
def test_cluster_info(
kube_cluster: Cluster, cluster_type: str, chart_extra_info: Dict[str, str]
kube_cluster: Cluster, cluster_type: str, test_extra_info: Dict[str, str]
) -> None:
"""Example shows how you can access additional information about the cluster the tests are running on"""
logger.info(f"Running on cluster type {cluster_type}")
key = "external_cluster_type"
if key in chart_extra_info:
logger.info(f"{key} is {chart_extra_info[key]}")
if key in test_extra_info:
logger.info(f"{key} is {test_extra_info[key]}")
assert kube_cluster.kube_client is not None
assert cluster_type != ""

Expand Down

0 comments on commit 80549b5

Please sign in to comment.