diff options
author | Thibault Saunier <tsaunier@gnome.org> | 2016-11-29 14:47:35 -0300 |
---|---|---|
committer | Thibault Saunier <tsaunier@gnome.org> | 2016-12-02 12:32:18 -0300 |
commit | 67c14729ac6f991fd3a230ceaf5dea211df38fa0 (patch) | |
tree | c814db2cf400fd26179d48a3c5c3a9b7f914092a | |
parent | 8ec0f5ef56843029d6ebf44644986f8349d2cd9c (diff) |
validate:launcher: Make sure to check string when verifying expected failures
The value can potentially be None and we should handle that
-rw-r--r-- | validate/launcher/baseclasses.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/validate/launcher/baseclasses.py b/validate/launcher/baseclasses.py index 73f0328..c39a426 100644 --- a/validate/launcher/baseclasses.py +++ b/validate/launcher/baseclasses.py @@ -711,7 +711,7 @@ class GstValidateTest(Test): del expected_failure[key] for key, value in report.items(): if key in expected_failure: - if not re.findall(expected_failure[key], value): + if not re.findall(expected_failure[key], str(value)): return False expected_failure.pop(key) |