summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ansible_api_test.py2
-rw-r--r--tests/cli_test.py8
-rw-r--r--tests/env_setup_test.py2
-rw-r--r--tests/qtip_server_test.py4
4 files changed, 8 insertions, 8 deletions
diff --git a/tests/ansible_api_test.py b/tests/ansible_api_test.py
index e9f0a77d..613d5f7e 100644
--- a/tests/ansible_api_test.py
+++ b/tests/ansible_api_test.py
@@ -14,6 +14,6 @@ class TestClass:
ansible_api = AnsibleApi()
ret = ansible_api.execute_playbook('tests/data/hosts',
'tests/data/test.yml',
- 'data/QtipKey',
+ 'config/QtipKey',
{'keys': 'test'})
assert ret == 3
diff --git a/tests/cli_test.py b/tests/cli_test.py
index 12d0abb0..43a11089 100644
--- a/tests/cli_test.py
+++ b/tests/cli_test.py
@@ -11,7 +11,7 @@ class TestClass:
'-f',
'compute'], "You have specified a lab that is not present in test_cases"),
(['-l',
- 'zte-pod1',
+ 'default',
'-f',
'test'], "Test File Does not exist in test_list")
])
@@ -26,10 +26,10 @@ class TestClass:
@pytest.mark.parametrize("test_input, expected", [
(['-l',
- 'zte-pod1',
+ 'default',
'-f',
- 'storage'], [('fuel', '/home', './test_cases/zte-pod1/storage/fio_bm.yaml'),
- ('fuel', '/home', './test_cases/zte-pod1/storage/fio_vm.yaml')])
+ 'storage'], [('fuel', '/home', './test_cases/default/storage/fio_bm.yaml'),
+ ('fuel', '/home', './test_cases/default/storage/fio_vm.yaml')])
])
@mock.patch('func.cli.args_handler.prepare_and_run_benchmark')
def test_cli_successful(self, mock_args_handler, test_input, expected):
diff --git a/tests/env_setup_test.py b/tests/env_setup_test.py
index cc3c6b60..a0bbf640 100644
--- a/tests/env_setup_test.py
+++ b/tests/env_setup_test.py
@@ -64,7 +64,7 @@ class TestClass:
test_class.fetch_compute_ips = mock_ips
test_class.parse("tests/test_case/bm_without_proxy.yaml")
test_class.update_ansible()
- result = filecmp.cmp('tests/output/hosts', 'data/hosts')
+ result = filecmp.cmp('tests/output/hosts', 'config/hosts')
assert result
def test_ping(self, capfd):
diff --git a/tests/qtip_server_test.py b/tests/qtip_server_test.py
index 9def21f8..81bb302b 100644
--- a/tests/qtip_server_test.py
+++ b/tests/qtip_server_test.py
@@ -46,7 +46,7 @@ class TestClass:
'result': 0}),
({'installer_type': 'fuel',
'installer_ip': '10.20.0.2',
- 'pod_name': 'zte-pod1',
+ 'pod_name': 'default',
'max_minutes': 20,
'suite_name': 'compute',
'type': 'VM',
@@ -56,7 +56,7 @@ class TestClass:
{'job_id': '',
'installer_type': 'fuel',
'installer_ip': '10.20.0.2',
- 'pod_name': 'zte-pod1',
+ 'pod_name': 'default',
'suite_name': 'compute',
'max_minutes': 20,
'type': 'VM',