def METHOD_NAME(self):
    edit_function_endpoint = reverse(
        self.endpoint, args=[self.organization.slug, "invalid-slug"]
    )
    edit_response = self.client.put(
        edit_function_endpoint,
        data={"name": "zoot!", "author": "bar", "code": "baz", "overview": "qux"},
    )
    assert edit_response.status_code == 404