847
847
def assertContainsRe(self, haystack, needle_re):
848
848
"""Assert that a contains something matching a regular expression."""
849
849
if not re.search(needle_re, haystack):
853
859
def assertNotContainsRe(self, haystack, needle_re):
854
860
"""Assert that a does not match a regular expression"""