def METHOD_NAME(self):
    slug = "webkom"
    methods = ["post", "patch", "put", "delete"]
    for method in methods:
        call = getattr(self.client, method)
        response = call("/api/v1/pages/{0}/".format(slug))
        self.assertEqual(response.status_code, status.HTTP_401_UNAUTHORIZED)