aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTaseer Ahmed <taseer94@gmail.com>2016-12-27 18:59:12 +0500
committerTaseer Ahmed <taseer94@gmail.com>2016-12-28 18:05:09 +0500
commit0dbc16c41646cbec79b65ec2ac60b8965cd22db9 (patch)
tree816083b4a1f74f3411451e0db00562b360146a20 /tests
parent78745839ca8447ac05033a6f558ab5efaa3f7d81 (diff)
Delete Ansible module. No longer required.
JIRA: QTIP-150 Change-Id: Idd357af309d01e5eece22521c12cd61ffd50db85 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/data/helper/ansible.yaml12
-rw-r--r--tests/unit/cli/test_module.py3
2 files changed, 2 insertions, 13 deletions
diff --git a/tests/data/helper/ansible.yaml b/tests/data/helper/ansible.yaml
deleted file mode 100644
index c55816fb..00000000
--- a/tests/data/helper/ansible.yaml
+++ /dev/null
@@ -1,12 +0,0 @@
----
-
- tests:
- - command: ['ansible', 'prepare']
- output: "prepare ansible env\n"
-
- - command: ['ansible', 'show']
- output: "show ansible configuration\n"
-
- - command: ['ansible', 'status']
- output: "check connectivity\n"
-
diff --git a/tests/unit/cli/test_module.py b/tests/unit/cli/test_module.py
index 822fa606..a8900684 100644
--- a/tests/unit/cli/test_module.py
+++ b/tests/unit/cli/test_module.py
@@ -8,13 +8,14 @@ from qtip.cli.entry import cli
class TestClass(object):
+ '''TODO(taseer) Remove hardcoded behaviour '''
@pytest.fixture()
def runner(self):
return CliRunner()
def test(self, runner):
- unit = 'ansible'
+ unit = 'perftest'
test_file = 'data/helper/' + unit + '.yaml'
path = os.path.join(os.path.dirname(__file__), os.pardir, os.pardir, test_file)