summaryrefslogtreecommitdiffstats
path: root/tests/unit/utils
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2016-11-29 09:37:41 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2016-11-29 10:01:39 +0800
commit3ba49a689792eb6e6dcf92a4570114d26db37f0e (patch)
tree3500861f2e702d6c0e9d6d41746b707c7c02dc61 /tests/unit/utils
parent29927dc95238bbc5652a1bbd31ff686ec976d032 (diff)
Enable all unit tests except two failed cases
- `test_ping` in `env_setup_test` still halts - `test_prepare_and_run_benchmark_successful` in `args_handler_test` fails - excluded `pep8` since already coverred by opnfv-lint task Change-Id: Ib5ea20c37a27e356aea6d8eed3750b3269bd67f4 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'tests/unit/utils')
-rw-r--r--tests/unit/utils/args_handler_test.py2
-rw-r--r--tests/unit/utils/create_zones_test.py1
-rw-r--r--tests/unit/utils/env_setup_test.py2
-rw-r--r--tests/unit/utils/spawn_vm_test.py1
4 files changed, 2 insertions, 4 deletions
diff --git a/tests/unit/utils/args_handler_test.py b/tests/unit/utils/args_handler_test.py
index 29347154..5cbe766e 100644
--- a/tests/unit/utils/args_handler_test.py
+++ b/tests/unit/utils/args_handler_test.py
@@ -12,7 +12,7 @@ import qtip.utils.args_handler
class TestClass:
- @pytest.mark.skip(reason="(yujunz) to be fixed")
+ @pytest.mark.skip("(yujunz) test fails")
@pytest.mark.parametrize("test_input, expected", [
(['fuel', '/home', 'benchmarks/testplan/default/network/iperf_bm.yaml'],
['fuel', '/home', "iperf",
diff --git a/tests/unit/utils/create_zones_test.py b/tests/unit/utils/create_zones_test.py
index 48f6c10e..8b1e97cc 100644
--- a/tests/unit/utils/create_zones_test.py
+++ b/tests/unit/utils/create_zones_test.py
@@ -51,7 +51,6 @@ class NovaMock(MagicMock):
class TestClass:
- @pytest.mark.skip(reason="(yujunz) to be fixed")
@pytest.mark.parametrize("test_input, expected", [
(['compute1', 'compute2'],
['create:compute1:compute1',
diff --git a/tests/unit/utils/env_setup_test.py b/tests/unit/utils/env_setup_test.py
index 5aa21b1b..c40801cc 100644
--- a/tests/unit/utils/env_setup_test.py
+++ b/tests/unit/utils/env_setup_test.py
@@ -78,7 +78,7 @@ class TestClass:
result = filecmp.cmp(get_output("hosts"), "config/hosts")
assert result
- @pytest.mark.skip(reason="(yujunz) test halt, to be fixed")
+ @pytest.mark.skip("(yujunz) to be fixed")
def test_ping(self, capfd):
test_class = Env_setup()
mock_ips = mock.Mock(return_value=["127.0.0.1", "10.20.0.29"])
diff --git a/tests/unit/utils/spawn_vm_test.py b/tests/unit/utils/spawn_vm_test.py
index 35273467..ba237378 100644
--- a/tests/unit/utils/spawn_vm_test.py
+++ b/tests/unit/utils/spawn_vm_test.py
@@ -32,7 +32,6 @@ class HeatMock(MagicMock):
class TestClass:
- @pytest.mark.skip(reason="(yujunz) to be fixed")
@pytest.mark.parametrize("test_input, expected", [
({'availability_zone': ['compute1', 'compute1'],
'OS_image': ['QTIP_CentOS', 'QTIP_CentOS'],