aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/openstack
diff options
context:
space:
mode:
authorJose Lausuch <jalausuch@suse.com>2017-11-15 12:27:31 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-11-15 12:27:31 +0000
commit60f4c4ad8f982aa2972f58384ceb6d750877d1e1 (patch)
treef5acd491114f389be5d116d9f148b85e57d6165e /functest/opnfv_tests/openstack
parent6f56dae69bd4ec71b9e09869f167c389c7939c8c (diff)
parent843de6db7838dc20fa4a1f44731ea47cbcffa250 (diff)
Merge "Fix the regular expression for refstack"
Diffstat (limited to 'functest/opnfv_tests/openstack')
-rw-r--r--functest/opnfv_tests/openstack/refstack_client/refstack_client.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/functest/opnfv_tests/openstack/refstack_client/refstack_client.py b/functest/opnfv_tests/openstack/refstack_client/refstack_client.py
index 42befe22..fe32da66 100644
--- a/functest/opnfv_tests/openstack/refstack_client/refstack_client.py
+++ b/functest/opnfv_tests/openstack/refstack_client/refstack_client.py
@@ -126,13 +126,13 @@ class RefstackClient(testcase.TestCase):
num_failures = match[1]
LOGGER.info("".join(match))
success_testcases = []
- for match in re.findall(r"\{0\} (.*?)[. ]*ok", output):
+ for match in re.findall(r"\{0\} (.*?) \.{3} ok", output):
success_testcases.append(match)
failed_testcases = []
- for match in re.findall(r"\{0\} (.*?)[. ]*FAILED", output):
+ for match in re.findall(r"\{0\} (.*?) \.{3} FAILED", output):
failed_testcases.append(match)
skipped_testcases = []
- for match in re.findall(r"\{0\} (.*?)[. ]*SKIPPED:", output):
+ for match in re.findall(r"\{0\} (.*?) \.{3} SKIPPED:", output):
skipped_testcases.append(match)
num_executed = int(num_tests) - int(num_skipped)