summaryrefslogtreecommitdiff
path: root/src/mailman/interfaces/api.py
Commit message (Collapse)AuthorAgeFilesLines
* Clean up the interfaces directory.Barry Warsaw2016-03-251-5/+2
|
* Just a little more UUID conversion convenience.Barry Warsaw2016-01-131-6/+6
|
* Refactor API differences into a separate class.Barry Warsaw2016-01-131-3/+31
| | | | | | | | | | | We now have an IAPI interface which defines methods to convert to/from UUIDs to their REST representations, and to calculate the API-homed full URL path to a resource. Add implementations API30 and API31 to handle the two different implementations so far. This also simplifies the various path_to() calls. Also: Add support for diff_cover to tox.ini to check that all differences against the master branch have full test coverage.
* Refactor API contexts.Barry Warsaw2016-01-131-0/+37
Rather than sprinkle API version string tests all over the place, create an IAPI interface which encapsulates the differences between API 3.0 and 3.1, and arrange for this to be used to convert to and from UUIDs.