Am 06.01.2015 um 04:24 schrieb Barry Warsaw: > On Jan 01, 2015, at 11:40 PM, Barry Warsaw wrote: > >> I'm playing with a solution that involves the use of the 'vcr' package > > So this branch is now ready for review. > > https://code.launchpad.net/~barry/mailman.client/bilingual/+merge/245537 > > I even added documentation on how to run the test to record the yaml file > containing the HTTP traffic. There are tox rules for doing both the > recording, and for running the test suite with the recorded traffic against > both Python 2 and Python 3. I've only tested 2.7 and 3.4 since I don't > currently have good builds of 2.6, 3.2, or 3.3, but the tox.ini file should > support those. > > There are now no imports of any `mailman` modules. I did have to add a new > top-level `queues` resource to the REST API which will allow you to inject > messages, query, and delete messages from the various queues. I thought this > was a pretty handy feature anyway, and it was easy to add, so that's now in > the Mailman 3 trunk. Which btw, as you might notice, I did go ahead and merge > the py3 branch. I think with this mailman.client approach and a REST-based HK > IArchiver implementation (TBD), it was safe enough to do, and I didn't want to > have to continue to implement new features in both branches (e.g. the queues > resource). > > Please have a look and let me know what you think.
I haven't had the time to look at it today. But will definitely do it tomorrow. Thanks a lot! Florian _______________________________________________ Mailman-Developers mailing list Mailman-Developers@python.org https://mail.python.org/mailman/listinfo/mailman-developers Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-developers%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9