'User should see a warning when \'Go\' is pressed and no items are selected.'

def test_user_message_on_none_selected(self):

    action_data = {ACTION_CHECKBOX_NAME: [], u'action': u'delete_selected', u'index': 0}
    response = self.client.post(u'/test_admin/admin/admin_views/subscriber/', action_data)
    msg = u'Items    must    be    selected    in    order    to    perform    actions    on    them.    No    items    have    been    changed.'
    self.assertContains(response, msg)
    self.assertEqual(Subscriber.objects.count(), 2)
