It all looks good, except that I can't run the tests even after linking it into a current LP tree. I first get a "No module named Mailman.MailList", but I can't believe that's your problem.
> + return Resource._wrap_resource(
You could do `self._wrap_resource` here. That might be more appropriate, especially for anyone who wants to subclass this.
It all looks good, except that I can't run the tests even after linking it into a current LP tree. I first get a "No module named Mailman.MailList", but I can't believe that's your problem.
> + return Resource. _wrap_resource(
You could do `self._ wrap_resource` here. That might be more appropriate, especially for anyone who wants to subclass this.
> + self._root, wadl_resource, representation, 'application/json',
'application/json' is the default for `representation _media_ type`, but it does no harm I guess.