Home
last modified time | relevance | path

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

/external/autotest/client/common_lib/test_utils/
Dunittest.py284 self.expected_regex = expected_regexp
300 if self.expected_regex is None:
303 expected_regexp = self.expected_regex
973 def assertRegexpMatches(self, text, expected_regex, msg=None): argument
974 if isinstance(expected_regex, basestring):
975 expected_regex = re.compile(expected_regex)
976 if not expected_regex.search(text):
978 msg = '%s: %r not found in %r' % (msg, expected_regex.pattern, text)