From d67c09dc46fbb93d38a16a45a9786785ea758852 Mon Sep 17 00:00:00 2001 From: chenhb-zte Date: Fri, 7 Apr 2017 14:53:01 +0800 Subject: [PATCH] [atomic_actions]Port report to new atomic actions 1.use new format in reports 2.move converting new format to old format to wrapper Change-Id: I5a2a5169653f09cded8f12fbc60fdea10f2bec2a --- tests/functional/test_cli_task.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/functional/test_cli_task.py b/tests/functional/test_cli_task.py index 1d6bb982..9db44d54 100644 --- a/tests/functional/test_cli_task.py +++ b/tests/functional/test_cli_task.py @@ -107,9 +107,9 @@ class TaskTestCase(unittest.TestCase): rally("task start --task %s" % config.filename) detailed = rally("task detailed") self.assertIn("Dummy.dummy_random_fail_in_atomic", detailed) - self.assertIn("dummy_fail_test (2)", detailed) + self.assertIn("dummy_fail_test (x2)", detailed) detailed_iterations_data = rally("task detailed --iterations-data") - self.assertIn(". dummy_fail_test (2)", detailed_iterations_data) + self.assertIn(". dummy_fail_test (x2)", detailed_iterations_data) self.assertNotIn("n/a", detailed_iterations_data) def test_detailed_with_errors(self):