Home
last modified time | relevance | path

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

/tools/test/connectivity/acts/framework/acts/
Dasserts.py305 def __init__(self, expected, expected_regexp=None, extras=None): argument
308 self.expected_regexp = expected_regexp
326 if self.expected_regexp is None:
329 expected_regexp = self.expected_regexp
330 if isinstance(expected_regexp, str):
331 expected_regexp = re.compile(expected_regexp)
332 if not expected_regexp.search(str(exc_value)):
335 (expected_regexp.pattern, str(exc_value)),