'Verify that an item\'s visibility view returns an html string
containing all the expected substrings.'

def verify_visibility_view_contains(self, item_location, substrings):

    item = self.store.get_item(item_location)
    html = item.visibility_view().body_html()
    for string in substrings:
        self.assertIn(string, html)
