'A client can be instantiated with CSRF checks enabled'

def test_csrf_enabled_client(self):

    csrf_client = Client(enforce_csrf_checks=True)
    response = self.client.post(u'/test_client/post_view/', {})
    self.assertEqual(response.status_code, 200)
    response = csrf_client.post(u'/test_client/post_view/', {})
    self.assertEqual(response.status_code, 403)
