summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--functest/opnfv_tests/vnf/ims/clearwater_ims_base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/functest/opnfv_tests/vnf/ims/clearwater_ims_base.py b/functest/opnfv_tests/vnf/ims/clearwater_ims_base.py
index ae01cfa3e..6b54d220a 100644
--- a/functest/opnfv_tests/vnf/ims/clearwater_ims_base.py
+++ b/functest/opnfv_tests/vnf/ims/clearwater_ims_base.py
@@ -154,8 +154,8 @@ class ClearwaterOnBoardingBase(vnf.VnfOnBoarding):
vims_test_result = {}
try:
grp = re.search(
- '(\d+) failures out of (\d+) tests run\n.*?'
- '(\d+) tests skipped', result)
+ r'(\d+) failures out of (\d+) tests run.*'
+ 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))