def test_unauthenticated(self):
        request = self.factory.put(
            '/api/projects/%s/' % self.project.id,
            {'status': 'bockwurst'}
        )
        view = ProjectUpdate.as_view()
        response = view(request, project_id=self.project.id).render()

        self.assertEqual(response.status_code, 404)
dataset/ETHPy150Open ExCiteS/geokey/geokey/projects/tests/test_views.py/ProjectUpdateTest.test_unauthenticated/original