'Here we fake that we have permissions
This should enter the view and in this test return "authorized"'

def test_decorator_authenticated(self):

    self.mock_authenticated()
    response = self.client.get(self.url, follow=True)
    if (type(response.content) is six.binary_type):
        self.assertEqual(response.content.decode(), 'authorized')
    else:
        self.assertEqual(response.content, 'authorized')
