diff options
author | Linda Wang <wangwulin@huawei.com> | 2017-03-15 09:53:37 +0000 |
---|---|---|
committer | Morgan Richomme <morgan.richomme@orange.com> | 2017-03-16 16:07:23 +0000 |
commit | 1c893a0c0a6e49148891b308d218b9a30aedf842 (patch) | |
tree | c48174b26875a2858f6dd706ba95ca281fdf7370 /functest/tests/unit/opnfv_tests/openstack/refstack_client/test_refstack_client.py | |
parent | f82abe8d8a83ac181d1e2d29fa99a1c501ae03bc (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>
(cherry picked from commit 2223051412c8855afebb7a9d657c90e9f235f78a)
Diffstat (limited to 'functest/tests/unit/opnfv_tests/openstack/refstack_client/test_refstack_client.py')
-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 4eb5a2501..4e83f6bf3 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' |