TestFormatters.assertRegex

TestFormatters.assertRegex#

TestFormatters.assertRegex(text, expected_regex, msg=None)#

Fail the test unless the text matches the regular expression.