'Check whether the specified verification status is shown on the dashboard.
Arguments:
status (str): One of the verification status constants.
If None, check that *none* of the statuses are displayed.
Raises:
AssertionError'

def _assert_course_verification_status(self, status):

    response = self.client.get(self.dashboard_url)
    self.assertContains(response, unicode(self.course.id))
    alt_text = self.BANNER_ALT_MESSAGES.get(status)
    if alt_text:
        self.assertContains(response, alt_text)
    self.assertContains(response, '<article    class="course    {}">'.format(self.MODE_CLASSES[status]))
    if (status is not None):
        if (status in self.NOTIFICATION_MESSAGES):
            found_msg = False
            for message in self.NOTIFICATION_MESSAGES[status]:
                if (message in response.content):
                    found_msg = True
                    break
            fail_msg = 'Could    not    find    any    of    these    messages:    {expected}'.format(expected=self.NOTIFICATION_MESSAGES[status])
            self.assertTrue(found_msg, msg=fail_msg)
    else:
        all_messages = []
        for msg_group in self.NOTIFICATION_MESSAGES.values():
            all_messages.extend(msg_group)
        for msg in all_messages:
            self.assertNotContains(response, msg)
