PYTEST_HELM_CHARTS.FIXTURES
This module defines fixtures for testing Helm Charts.
chart_path
(
pytestconfig
)
(str) — Return a path to the chart under test (from command line argument).</>chart_version
(
pytestconfig
)
(str) — Return a value that needs to be used as chart version override (from command line argument).</>cluster_type
(
pytestconfig
)
(str) — Return a type of cluster used for testing (from command line argument).</>cluster_version
(
pytestconfig
)
(str) — Return a type of cluster used for testing (from command line argument).</>kube_cluster
(
kube_config
)
(Cluster) — Return a ready Cluster object, which can already be used in test to connect to the cluster. Specific implementation used to provide the cluster depends on the '--cluster-type' command line option.</>kube_config
(
pytestconfig
)
(str) — Return a path to the kube.config file that points to a running cluster with app catalog platform tools already installed.</>test_extra_info
(
pytestconfig
)
(dict(str: str)) — Return an optional dict of variable names and values passed to the test using either the--extra-test-info
cmd line option or env vars prefixed with 'ATS_EXTRA_'.</>values_file_path
(
pytestconfig
)
(str) — Return a path to the yaml file that needs to be used to configure chart under test (from command line argument).</>
pytest_helm_charts.fixtures.
chart_path
(
pytestconfig
)
→ str
Return a path to the chart under test (from command line argument).
pytestconfig
(Config) —
pytest_helm_charts.fixtures.
chart_version
(
pytestconfig
)
→ str
Return a value that needs to be used as chart version override (from command line argument).
pytestconfig
(Config) —
pytest_helm_charts.fixtures.
cluster_type
(
pytestconfig
)
→ str
Return a type of cluster used for testing (from command line argument).
pytestconfig
(Config) —
pytest_helm_charts.fixtures.
cluster_version
(
pytestconfig
)
→ str
Return a type of cluster used for testing (from command line argument).
pytestconfig
(Config) —
pytest_helm_charts.fixtures.
values_file_path
(
pytestconfig
)
→ str
Return a path to the yaml file that needs to be used to configure chart under test (from command line argument).
pytestconfig
(Config) —
pytest_helm_charts.fixtures.
kube_config
(
pytestconfig
)
→ str
Return a path to the kube.config file that points to a running cluster with app catalog platform tools already installed.
pytestconfig
(Config) —
pytest_helm_charts.fixtures.
test_extra_info
(
pytestconfig
)
→ dict(str: str)
Return an optional dict of variable names and values passed to the test using either
the --extra-test-info
cmd line option or env vars prefixed with 'ATS_EXTRA_'.
pytestconfig
(Config) —
pytest_helm_charts.fixtures.
kube_cluster
(
kube_config
)
→ Cluster
Return a ready Cluster object, which can already be used in test to connect to the cluster. Specific implementation used to provide the cluster depends on the '--cluster-type' command line option.
kube_config
(str) —