diff options
author | Linda Wang <wangwulin@huawei.com> | 2017-03-15 09:53:37 +0000 |
---|---|---|
committer | Linda Wang <wangwulin@huawei.com> | 2017-03-15 10:44:37 +0000 |
commit | 2223051412c8855afebb7a9d657c90e9f235f78a (patch) | |
tree | 03b6260155dbb93973e4ec1fe7c2c6c204fe736a /functest/tests/unit/opnfv_tests/openstack | |
parent | c88fd9ac48589b4cb28a5ba5486adde1a21ae74c (diff) |
Parse refstack_defcore results
JIRA: DOVETAIL-366
JIRA: FUNCTEST-758
Parse refstack_defcore results, including:
1. show number of tests passed, skipped and failed
2. record the detailed info about testcases passed, skipped and failed.
Change-Id: I355a907c5c9ea2739f845447144c62613ec3bb6a
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Diffstat (limited to 'functest/tests/unit/opnfv_tests/openstack')
-rw-r--r-- | functest/tests/unit/opnfv_tests/openstack/refstack_client/test_refstack_client.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/functest/tests/unit/opnfv_tests/openstack/refstack_client/test_refstack_client.py b/functest/tests/unit/opnfv_tests/openstack/refstack_client/test_refstack_client.py index 4eb5a250..4e83f6bf 100644 --- a/functest/tests/unit/opnfv_tests/openstack/refstack_client/test_refstack_client.py +++ b/functest/tests/unit/opnfv_tests/openstack/refstack_client/test_refstack_client.py @@ -38,17 +38,6 @@ class OSRefstackClientTesting(unittest.TestCase): self.refstackclient.source_venv() m.assert_any_call(cmd) - def test_run_defcore_default(self): - with mock.patch('functest.opnfv_tests.openstack.refstack_client.' - 'refstack_client.ft_utils.execute_command') as m: - cmd = ("cd {0};" - "./refstack-client test -c {1} -v --test-list {2};" - "cd -;".format(CONST.dir_refstack_client, - self._config, - self._testlist)) - self.refstackclient.run_defcore_default() - m.assert_any_call(cmd) - def test_run_defcore(self): config = 'tempest.conf' testlist = 'testlist' |