testimony.assert_match

testimony

assert_match(pattern, str, msg)

Assert that a string matches a pattern

str is compared through tostring.