diff options
author | Tim Rozet <trozet@redhat.com> | 2018-07-16 14:14:26 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-07-16 14:14:26 +0000 |
commit | b5e2f1f65dee0cd692fe275d6bce69a8e410cac3 (patch) | |
tree | cc212ff450702320fb1330e5c1add769fc708729 /apex/tests/test_apex_common_utils.py | |
parent | 320cbf7d8b69fefb467b85a713c791f6a29b662a (diff) | |
parent | 10c4d35315d7ffd909520a1c7bc6a3b5b9b871ab (diff) |
Merge "Add support for kubernetes deployment"
Diffstat (limited to 'apex/tests/test_apex_common_utils.py')
-rw-r--r-- | apex/tests/test_apex_common_utils.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apex/tests/test_apex_common_utils.py b/apex/tests/test_apex_common_utils.py index 0e4041ca..b6aa4c7f 100644 --- a/apex/tests/test_apex_common_utils.py +++ b/apex/tests/test_apex_common_utils.py @@ -64,8 +64,11 @@ class TestCommonUtils: def test_run_ansible(self): playbook = 'apex/tests/playbooks/test_playbook.yaml' + extra_vars = [{'testvar1': 'value1', 'testvar2': 'value2'}] assert_equal(utils.run_ansible(None, os.path.join(playbook), dry_run=True), None) + assert_equal(utils.run_ansible(extra_vars, os.path.join(playbook), + dry_run=True, host='1.1.1.1'), None) def test_failed_run_ansible(self): playbook = 'apex/tests/playbooks/test_failed_playbook.yaml' |