def test_authorization_denied(self):    
        client = Client()

        response = client.get(
            path = reverse('home'),
            data = {
                'error': 'access_denied'
            }
        )

        # There's no way to derive the view the response originated from in Django,
        # so verifying its status code will have to suffice.
        assert response.status_code == 403
Verify that the view referred to by AUTHORIZATION_DENIED_VIEW is
dataset/ETHPy150Open jgorset/fandjango/tests/test_fandjango.py/TestFacebookMiddleware.test_authorization_denied