diff options
author | 2017-03-15 01:28:02 +0000 | |
---|---|---|
committer | 2017-03-15 01:28:02 +0000 | |
commit | deb48720a34ff36d23d777b9a9a1b4f73c17d80d (patch) | |
tree | f704ac8a24c5e74c7982d0ad3c49cab9f355baa2 /legacy/tests/ansible_api_test.py | |
parent | fef1092cdb5a28d8d39eff94dbbd0dd187a16971 (diff) | |
parent | 63c002a51ff072c911d3b89296b627b16983f5a0 (diff) |
Merge "Remove legacy code from stable branch" into stable/danube
Diffstat (limited to 'legacy/tests/ansible_api_test.py')
-rw-r--r-- | legacy/tests/ansible_api_test.py | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/legacy/tests/ansible_api_test.py b/legacy/tests/ansible_api_test.py deleted file mode 100644 index 6f286fc3..00000000 --- a/legacy/tests/ansible_api_test.py +++ /dev/null @@ -1,22 +0,0 @@ -############################################################################## -# Copyright (c) 2016 ZTE Corp and others. -# -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 -############################################################################## - -from tests import BaseTest -from qtip.utils.ansible_api import AnsibleApi - - -class TestClass(BaseTest): - - def test_call_ansible_api_success(self): - ansible_api = AnsibleApi() - ret = ansible_api.execute_playbook(self.abspath('hosts'), - self.abspath('test.yml'), - self.abspath('QtipKey'), - {'keys': 'test'}) - assert ret == 3 |