'Load the message page and check the status code.'

def _load_page(self, access_point, message_key, expected_status=200):

    url = reverse('embargo:blocked_message', kwargs={'access_point': access_point, 'message_key': message_key})
    response = self.client.get(url)
    self.assertEqual(response.status_code, expected_status, msg=u"Unexpected    status    code    when    loading    '{url}':    expected    {expected}    but    got    {actual}".format(url=url, expected=expected_status, actual=response.status_code))
