From: Morgan Richomme Date: Wed, 14 Dec 2016 10:40:56 +0000 (+0100) Subject: Bug fix: precise testcase name to push results into DB X-Git-Tag: 0.2~1020 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=2a044e0301350299e056a09b25f049452d87b38d;p=functest-xtesting.git Bug fix: precise testcase name to push results into DB JIRA: FUNCTEST-659 Change-Id: Ic92ecddc5d0bb295b99f7ffc2ab957e80e7ea32f Signed-off-by: Morgan Richomme --- diff --git a/functest/opnfv_tests/openstack/snaps/api_check.py b/functest/opnfv_tests/openstack/snaps/api_check.py index e6ee81e9..27889209 100644 --- a/functest/opnfv_tests/openstack/snaps/api_check.py +++ b/functest/opnfv_tests/openstack/snaps/api_check.py @@ -22,6 +22,7 @@ class ApiCheck(PyTestSuiteRunner): super(ApiCheck, self).__init__() self.suite = unittest.TestSuite() + self.case_name = "api_check" creds_file = ft_utils.get_functest_config('general.openstack.creds') use_key = ft_utils.get_functest_config('snaps.use_keystone') ext_net_name = snaps_utils.get_ext_net_name() diff --git a/functest/opnfv_tests/openstack/snaps/connection_check.py b/functest/opnfv_tests/openstack/snaps/connection_check.py index 42e38d67..c2f5b102 100644 --- a/functest/opnfv_tests/openstack/snaps/connection_check.py +++ b/functest/opnfv_tests/openstack/snaps/connection_check.py @@ -22,6 +22,7 @@ class ConnectionCheck(PyTestSuiteRunner): super(ConnectionCheck, self).__init__() self.suite = unittest.TestSuite() + self.case_name = "connection_check" creds_file = ft_utils.get_functest_config('general.openstack.creds') use_key = ft_utils.get_functest_config('snaps.use_keystone') ext_net_name = snaps_utils.get_ext_net_name() diff --git a/functest/opnfv_tests/openstack/snaps/smoke.py b/functest/opnfv_tests/openstack/snaps/smoke.py index 25433a32..f66c17ff 100644 --- a/functest/opnfv_tests/openstack/snaps/smoke.py +++ b/functest/opnfv_tests/openstack/snaps/smoke.py @@ -23,6 +23,7 @@ class SnapsSmoke(PyTestSuiteRunner): super(SnapsSmoke, self).__init__() self.suite = unittest.TestSuite() + self.case_name = "snaps_smoke" creds_file = ft_utils.get_functest_config('general.openstack.creds') use_key = ft_utils.get_functest_config('snaps.use_keystone') use_fip = ft_utils.get_functest_config('snaps.use_floating_ips')