mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
validate:launcher: Make sure to check string when verifying expected failures
The value can potentially be None and we should handle that
This commit is contained in:
parent
acfdd04e01
commit
2959af0761
1 changed files with 1 additions and 1 deletions
|
@ -728,7 +728,7 @@ class GstValidateTest(Test):
|
|||
del expected_failure[key]
|
||||
for key, value in list(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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue