Home
last modified time | relevance | path

Searched refs:expected_regexp (Results 1 – 1 of 1) sorted by relevance

/test/vts/runners/host/
Dasserts.py307 def __init__(self, expected, expected_regexp=None, extras=None): argument
310 self.expected_regexp = expected_regexp
328 if self.expected_regexp is None:
331 expected_regexp = self.expected_regexp
332 if isinstance(expected_regexp, str):
333 expected_regexp = re.compile(expected_regexp)
334 if not expected_regexp.search(str(exc_value)):
337 (expected_regexp.pattern, str(exc_value)),