Re: [Mailman-Developers] Accessing the members of a list

2016-02-24 Thread Aditya Divekar
Thanks for the help Harshit! But I realized that I framed my question improperly. I used the above command before too, but it raises an error - CannotOverwriteExistingCassetteException: No match for the request (http://localhost:9001/3.0/members/find?subscriber=%2Aexample.com%2A&list_id=foo.exampl

Re: [Mailman-Developers] Accessing the members of a list

2016-02-24 Thread Harshit Bansal
Hi Aditya, Since a lot of Postorius code involves calls to Mailman's REST API and running these tests against a real instance would be painfully slow, hence ''vcrpy'' cassettess are used. These files contain pre-recorded HTTP responses. If you write new tests, it's advisable to add a separate fixtu

Re: [Mailman-Developers] Accessing the members of a list

2016-02-24 Thread Simon Hanna
I just realized I didn't reply to the list but to the OP only. Here is my reply: > CannotOverwriteExistingCassetteException: No match for the request > ( http://localhost:9001/3.0/members/find?subscriber=%2Aexample.com%2A&list_id=foo.example.com&role=member>) > was found. Can't overwrite existing