aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
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)