diff options
author | Krzysztof Opasiak <k.opasiak@samsung.com> | 2021-02-16 12:39:51 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-02-16 12:39:51 +0000 |
commit | 8ec40e9842c856ed4c14d91755cc26b7c81b8f01 (patch) | |
tree | f1ee39c1d851be7eda03a1681a88b24a9691107c /ansible/roles/application/molecule/default | |
parent | df09c2bf1e533a2c085a53eb46116bca9025c4fa (diff) | |
parent | 2c7299fa340e6918a59d92981f01652e9464ee86 (diff) |
Merge "Add Helm v3 plugin deployment playbook"
Diffstat (limited to 'ansible/roles/application/molecule/default')
-rw-r--r-- | ansible/roles/application/molecule/default/tests/test_default.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ansible/roles/application/molecule/default/tests/test_default.py b/ansible/roles/application/molecule/default/tests/test_default.py index 22298e3a..21fc40e4 100644 --- a/ansible/roles/application/molecule/default/tests/test_default.py +++ b/ansible/roles/application/molecule/default/tests/test_default.py @@ -8,7 +8,12 @@ testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner( def test_helm_commands(host): fc = host.file('/tmp/helm_simu_output').content_string - expected_content = """home + helm_release = host.ansible.get_variables()['helm_version'] + if helm_release == 'v2': + content_str1 = 'home' + elif helm_release == 'v3': + content_str1 = 'env' + expected_content = content_str1 + """ init --upgrade --skip-refresh version --tiller-connection-timeout 10 repo list |