You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assert_multiple: A helper method to do lots of assert_count() calls at once. Accepts a string, content_to_search, which is the text to be checked, and a dictionary of {content_string: count} items, where 'content_string' is any string, and 'count' is the expected number of instances of that string in content_to_search.
render_view_and_assert_content: Calls access_view_and_render_response then calls assert_multiple on the result. You pass in the {content_string: count} dictionary that assert_multiple uses, and any kwargs used for rendering the view.
The text was updated successfully, but these errors were encountered:
assert_multiple
: A helper method to do lots of assert_count() calls at once. Accepts a string, content_to_search, which is the text to be checked, and a dictionary of {content_string: count} items, where 'content_string' is any string, and 'count' is the expected number of instances of that string in content_to_search.render_view_and_assert_content
: Callsaccess_view_and_render_response
then callsassert_multiple
on the result. You pass in the {content_string: count} dictionary thatassert_multiple
uses, and any kwargs used for rendering the view.The text was updated successfully, but these errors were encountered: