def test_change_slug_fails(self):
        """
        Slug is read-only and cannot be changed. Assert the slug is unchanged.
        """
        response = self.client.patch(self.url + "%d/" % self.test_project.id,
            {'slug':'Bad Slug'}, format="json")
        assert json.loads(response.content)["slug"] == "resttest"
dataset/ETHPy150Open memex-explorer/memex-explorer/source/base/tests/test_rest_project.py/TestProjectREST.test_change_slug_fails/original