aboutsummaryrefslogtreecommitdiffstats
path: root/functest/tests/unit/openstack/refstack_client
diff options
context:
space:
mode:
authorLinda Wang <wangwulin@huawei.com>2017-08-11 05:28:21 +0000
committerLinda Wang <wangwulin@huawei.com>2017-08-15 06:52:00 +0000
commitb16492cfcacf4ee2e165c09b818ce5a49e05eb7b (patch)
treea287062f532c1f6488ec07311154717f5590473c /functest/tests/unit/openstack/refstack_client
parentd1704a679ce7d4d8251d9f6e057d47333b2923fe (diff)
Remove timestamp in the details for tempest
Example: "success": ["2017-08-15 06:59:30.445 1180 INFO opnfv-tempest [-] {0} tempest.sce nario.test_server_basic_ops.TestServerBasicOps.test_server_basic_ops"] which is updated to: "success": ["tempest.scenario.test_server_basic_ops.TestServerBasicOps.test_serv er_basic_ops"] Change-Id: Iad13e380b3a1fdc37b7742929512098bccc6d460 Signed-off-by: Linda Wang <wangwulin@huawei.com>
Diffstat (limited to 'functest/tests/unit/openstack/refstack_client')
-rw-r--r--functest/tests/unit/openstack/refstack_client/test_refstack_client.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/functest/tests/unit/openstack/refstack_client/test_refstack_client.py b/functest/tests/unit/openstack/refstack_client/test_refstack_client.py
index e4e3364d..c5601075 100644
--- a/functest/tests/unit/openstack/refstack_client/test_refstack_client.py
+++ b/functest/tests/unit/openstack/refstack_client/test_refstack_client.py
@@ -79,9 +79,9 @@ class OSRefstackClientTesting(unittest.TestCase):
''')
self.details = {"tests": 3,
"failures": 1,
- "success": [' tempest.api.compute [18.464988s]'],
- "errors": [' tempest.api.volume [0.230334s]'],
- "skipped": [' tempest.api.network [1.265828s]']}
+ "success": ['tempest.api.compute [18.464988s]'],
+ "errors": ['tempest.api.volume [0.230334s]'],
+ "skipped": ['tempest.api.network [1.265828s]']}
with mock.patch('__builtin__.open',
mock.mock_open(read_data=log_file)):
self.refstackclient.parse_refstack_result()