def assert_element_text_is(output, path, text):
 assert_element_text_matches(output, path, re.escape(text))

def assert_element_text_is ( output , path , text ) : assert_element_text_matches ( output , path , re . escape ( text ) )
asserts the text of the first element matching the specified path matches exactly the specified text .