aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--functest/opnfv_tests/vnf/ims/clearwater.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/functest/opnfv_tests/vnf/ims/clearwater.py b/functest/opnfv_tests/vnf/ims/clearwater.py
index 96f1b40c6..57857b563 100644
--- a/functest/opnfv_tests/vnf/ims/clearwater.py
+++ b/functest/opnfv_tests/vnf/ims/clearwater.py
@@ -199,8 +199,8 @@ class ClearwaterTesting(object):
vims_test_result = {}
try:
grp = re.search(
- r'(\d+) failures out of (\d+) tests run.*'
- r'(\d+) tests skipped', result, re.MULTILINE | re.DOTALL)
+ r'^(\d+) failures out of (\d+) tests run.*\n'
+ r'(\d+) tests skipped$', result, re.MULTILINE | re.DOTALL)
assert grp
vims_test_result["failures"] = int(grp.group(1))
vims_test_result["total"] = int(grp.group(2))