Merge lp:~raj-abhilash1/postorius/change_subscription into lp:postorius

Proposed by Abhilash Raj
Status: Merged
Merged at revision: 245
Proposed branch: lp:~raj-abhilash1/postorius/change_subscription
Merge into: lp:postorius
Diff against target: 8127 lines (+4302/-2663)
27 files modified
src/postorius/forms.py (+23/-6)
src/postorius/models.py (+19/-1)
src/postorius/templates/postorius/lists/summary.html (+12/-2)
src/postorius/templates/postorius/user_mailmansettings.html (+1/-1)
src/postorius/tests/fixtures/vcr_cassettes/archival_options.yaml (+32/-32)
src/postorius/tests/fixtures/vcr_cassettes/list_members_access.yaml (+626/-626)
src/postorius/tests/fixtures/vcr_cassettes/list_members_page.yaml (+345/-352)
src/postorius/tests/fixtures/vcr_cassettes/test_change_subscription-2.yaml (+306/-0)
src/postorius/tests/fixtures/vcr_cassettes/test_change_subscription.yaml (+225/-0)
src/postorius/tests/fixtures/vcr_cassettes/test_list_archival_options.yaml (+396/-377)
src/postorius/tests/fixtures/vcr_cassettes/test_list_archival_options_disable_archiver.yaml (+105/-90)
src/postorius/tests/fixtures/vcr_cassettes/test_list_archival_options_enable_archiver.yaml (+89/-90)
src/postorius/tests/fixtures/vcr_cassettes/test_list_creation.yaml (+149/-151)
src/postorius/tests/fixtures/vcr_cassettes/test_list_index.yaml (+146/-148)
src/postorius/tests/fixtures/vcr_cassettes/test_list_members_add_moderator.yaml (+86/-90)
src/postorius/tests/fixtures/vcr_cassettes/test_list_members_add_owner.yaml (+62/-66)
src/postorius/tests/fixtures/vcr_cassettes/test_list_members_add_owner_new_owner_added.yaml (+9/-9)
src/postorius/tests/fixtures/vcr_cassettes/test_list_members_new_moderator_added.yaml (+9/-9)
src/postorius/tests/fixtures/vcr_cassettes/test_list_metrics.yaml (+196/-200)
src/postorius/tests/fixtures/vcr_cassettes/test_list_summary.yaml (+814/-392)
src/postorius/tests/fixtures/vcr_cassettes/test_model-2.yaml (+18/-0)
src/postorius/tests/fixtures/vcr_cassettes/test_model.yaml (+402/-0)
src/postorius/tests/mailman_api_tests/test_list_summary.py (+36/-4)
src/postorius/tests/mailman_api_tests/test_models.py (+74/-0)
src/postorius/tests/test_forms.py (+43/-2)
src/postorius/urls.py (+3/-0)
src/postorius/views/list.py (+76/-15)
To merge this branch: bzr merge lp:~raj-abhilash1/postorius/change_subscription
Reviewer Review Type Date Requested Status
Mailman Coders Pending
Review via email: mp+256362@code.launchpad.net

Description of the change

* User can choose from which address to subscribe to a list
* User can change their subscription to a different address after subscribing

To post a comment you must log in.
220. By Abhilash Raj

fixed a test

221. By Abhilash Raj

added tests for change subscription

222. By Abhilash Raj

rebased trunk

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/postorius/forms.py'
2--- src/postorius/forms.py 2015-04-16 01:18:49 +0000
3+++ src/postorius/forms.py 2015-04-16 01:57:12 +0000
4@@ -164,17 +164,23 @@
5
6
7 class ListSubscribe(FieldsetForm):
8-
9 """Form fields to join an existing list.
10 """
11- email = forms.EmailField(
12- label=_('Your email address'),
13- widget=forms.HiddenInput(),
14- error_messages={'required': _('Please enter an email address.'),
15- 'invalid': _('Please enter a valid email address.')})
16+
17+ email = forms.ChoiceField(label=_('Your email address'),
18+ validators=[validate_email],
19+ widget=forms.Select(),
20+ error_messages={'required': _('Please enter an email address.'),
21+ 'invalid': _('Please enter a valid email address.')})
22+
23 display_name = forms.CharField(label=_('Your name (optional)'),
24 required=False)
25
26+ def __init__(self, user_emails, *args, **kwargs):
27+ super(ListSubscribe, self).__init__(*args, **kwargs)
28+ self.fields['email'].choices = ((address, address)
29+ for address in user_emails)
30+
31
32 class ListUnsubscribe(FieldsetForm):
33
34@@ -942,3 +948,14 @@
35 raise forms.ValidationError(_('Please provide a different email '
36 'address than your own.'))
37 return cleaned_data
38+
39+class ChangeSubscriptionForm(forms.Form):
40+ email = forms.ChoiceField()
41+
42+ def __init__(self, user_emails, *args, **kwargs):
43+ super(ChangeSubscriptionForm, self).__init__(*args, **kwargs)
44+ self.fields['email'] = forms.ChoiceField(
45+ label=_('Select Email'),
46+ required=False,
47+ widget=forms.Select(),
48+ choices=((address, address) for address in user_emails))
49
50=== modified file 'src/postorius/models.py'
51--- src/postorius/models.py 2015-04-13 21:51:14 +0000
52+++ src/postorius/models.py 2015-04-16 01:57:12 +0000
53@@ -27,8 +27,10 @@
54 from django.conf import settings
55 from django.contrib.auth.models import User
56 from django.core.exceptions import ImproperlyConfigured
57+from django.core.mail import send_mail
58+from django.db.models.signals import post_save
59 from django.core.urlresolvers import reverse
60-from django.core.mail import send_mail
61+from django.dispatch import receiver
62 from django.db import models
63 from django.http import Http404
64 from django.template import Context
65@@ -41,6 +43,22 @@
66 logger = logging.getLogger(__name__)
67
68
69+@receiver(post_save, sender=User)
70+def create_mailman_user(sender, **kwargs):
71+ if kwargs.get('created'):
72+ autocreate = False
73+ try:
74+ autocreate = settings.AUTOCREATE_MAILMAN_USER
75+ except AttributeError:
76+ pass
77+ if autocreate:
78+ user = kwargs.get('instance')
79+ client = get_client()
80+ try:
81+ client.create_user(user.email, None, None)
82+ except HTTPError:
83+ pass
84+
85 class MailmanApiError(Exception):
86 """Raised if the API is not available.
87 """
88
89=== modified file 'src/postorius/templates/postorius/lists/summary.html'
90--- src/postorius/templates/postorius/lists/summary.html 2015-04-15 20:53:52 +0000
91+++ src/postorius/templates/postorius/lists/summary.html 2015-04-16 01:57:12 +0000
92@@ -31,10 +31,20 @@
93 <h2>{% trans 'Subscription' %}</h2>
94 {% if user.is_authenticated %}
95 {% if userSubscribed %}
96- <a href="{% url 'list_unsubscribe' list.list_id user.email %}" class="btn btn-danger">{% trans "Unsubscribe" %}</a>
97+ {% trans "You are subscribed to this list with your address:" %}
98+ <em>{{ subscribed_address }}</em>
99+ <br/>
100+ <h2>Change Subscription</h2>
101+ <form action="{% url 'change_subscription' list.list_id %}" method="POST" class="change_subscription">
102+ {% csrf_token %}
103+ {{change_subscription_form.as_p}}
104+ <input class="btn btn-success" type="submit" value="{% trans 'Change Subscription' %}">
105+ </form>
106+ <h2>Unsubscribe</h2>
107+ <a href="{% url 'list_unsubscribe' list.list_id subscribed_address %}" class="btn btn-danger">{% trans "Unsubscribe" %} {{ subscribed_address }}</a>
108 {% else %}
109 <form action="{% url 'list_subscribe' list.list_id %}" method="post" class="list_subscribe"> {% csrf_token %}
110- {{subscribe_form.as_p}}
111+ {{ subscribe_form.as_p }}
112 <input class="btn btn-success" type="submit" value="{% trans 'Subscribe' %}" />
113 </form>
114 {% endif %}
115
116=== modified file 'src/postorius/templates/postorius/user_mailmansettings.html'
117--- src/postorius/templates/postorius/user_mailmansettings.html 2015-04-15 00:43:21 +0000
118+++ src/postorius/templates/postorius/user_mailmansettings.html 2015-04-16 01:57:12 +0000
119@@ -33,7 +33,7 @@
120 <p> {% trans "Mail Delivery" %}: </p>
121 </p>
122 [<span class="more_info"><a href="#" target="_blank">{% trans 'More info' %}</a><span>{{ settingsform.delivery_status.help_text }}
123- </span></span>] </p>
124+ </span></span>] </p>
125 </td>
126 <td> {{settingsform.delivery_status }} </td>
127 </tr>
128
129=== modified file 'src/postorius/tests/fixtures/vcr_cassettes/archival_options.yaml'
130--- src/postorius/tests/fixtures/vcr_cassettes/archival_options.yaml 2015-04-15 20:02:05 +0000
131+++ src/postorius/tests/fixtures/vcr_cassettes/archival_options.yaml 2015-04-16 01:57:12 +0000
132@@ -13,8 +13,8 @@
133 headers:
134 content-length: ['33']
135 content-type: [application/json; charset=utf-8]
136- date: ['Wed, 15 Apr 2015 20:00:40 GMT']
137- server: [WSGIServer/0.2 CPython/3.4.2]
138+ date: ['Thu, 16 Apr 2015 01:51:38 GMT']
139+ server: [WSGIServer/0.2 CPython/3.4.3]
140 status: {code: 400, message: Bad Request}
141 - request:
142 body: null
143@@ -26,13 +26,14 @@
144 uri: http://localhost:9001/3.0/domains/example.com
145 response:
146 body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
147- "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"",
148- "mail_host": "example.com", "description": null, "url_host": "example.com"}'}
149+ "base_url": "http://example.com", "mail_host": "example.com", "http_etag":
150+ "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": null, "url_host":
151+ "example.com"}'}
152 headers:
153 content-length: ['233']
154 content-type: [application/json; charset=utf-8]
155- date: ['Wed, 15 Apr 2015 20:00:40 GMT']
156- server: [WSGIServer/0.2 CPython/3.4.2]
157+ date: ['Thu, 16 Apr 2015 01:51:38 GMT']
158+ server: [WSGIServer/0.2 CPython/3.4.3]
159 status: {code: 200, message: OK}
160 - request:
161 body: null
162@@ -44,13 +45,14 @@
163 uri: http://localhost:9001/3.0/domains/example.com
164 response:
165 body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
166- "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"",
167- "mail_host": "example.com", "description": null, "url_host": "example.com"}'}
168+ "base_url": "http://example.com", "mail_host": "example.com", "http_etag":
169+ "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": null, "url_host":
170+ "example.com"}'}
171 headers:
172 content-length: ['233']
173 content-type: [application/json; charset=utf-8]
174- date: ['Wed, 15 Apr 2015 20:00:40 GMT']
175- server: [WSGIServer/0.2 CPython/3.4.2]
176+ date: ['Thu, 16 Apr 2015 01:51:38 GMT']
177+ server: [WSGIServer/0.2 CPython/3.4.3]
178 status: {code: 200, message: OK}
179 - request:
180 body: fqdn_listname=test_list%40example.com
181@@ -65,9 +67,9 @@
182 body: {string: !!python/unicode ''}
183 headers:
184 content-length: ['0']
185- date: ['Wed, 15 Apr 2015 20:00:40 GMT']
186+ date: ['Thu, 16 Apr 2015 01:51:38 GMT']
187 location: ['http://localhost:9001/3.0/lists/test_list.example.com']
188- server: [WSGIServer/0.2 CPython/3.4.2]
189+ server: [WSGIServer/0.2 CPython/3.4.3]
190 status: {code: 201, message: Created}
191 - request:
192 body: null
193@@ -78,16 +80,15 @@
194 method: !!python/unicode 'GET'
195 uri: http://localhost:9001/3.0/lists/test_list.example.com
196 response:
197- body: {string: !!python/unicode '{"fqdn_listname": "test_list@example.com", "list_id":
198- "test_list.example.com", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"",
199- "list_name": "test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com",
200- "volume": 1, "display_name": "Test_list", "mail_host": "example.com", "member_count":
201- 0}'}
202+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/lists/test_list.example.com",
203+ "mail_host": "example.com", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"",
204+ "member_count": 0, "volume": 1, "list_id": "test_list.example.com", "fqdn_listname":
205+ "test_list@example.com", "list_name": "test_list", "display_name": "Test_list"}'}
206 headers:
207 content-length: ['324']
208 content-type: [application/json; charset=utf-8]
209- date: ['Wed, 15 Apr 2015 20:00:40 GMT']
210- server: [WSGIServer/0.2 CPython/3.4.2]
211+ date: ['Thu, 16 Apr 2015 01:51:38 GMT']
212+ server: [WSGIServer/0.2 CPython/3.4.3]
213 status: {code: 200, message: OK}
214 - request:
215 body: null
216@@ -98,13 +99,13 @@
217 method: !!python/unicode 'GET'
218 uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers
219 response:
220- body: {string: !!python/unicode '{"http_etag": "\"de68e13c430d856461d2b39a5b5d5286d91528bc\"",
221- "prototype": false, "mail-archive": true, "mhonarc": false}'}
222+ body: {string: !!python/unicode '{"mhonarc": false, "prototype": false, "http_etag":
223+ "\"de68e13c430d856461d2b39a5b5d5286d91528bc\"", "mail-archive": true}'}
224 headers:
225 content-length: ['121']
226 content-type: [application/json; charset=utf-8]
227- date: ['Wed, 15 Apr 2015 20:00:40 GMT']
228- server: [WSGIServer/0.2 CPython/3.4.2]
229+ date: ['Thu, 16 Apr 2015 01:51:38 GMT']
230+ server: [WSGIServer/0.2 CPython/3.4.3]
231 status: {code: 200, message: OK}
232 - request:
233 body: null
234@@ -115,16 +116,15 @@
235 method: !!python/unicode 'GET'
236 uri: http://localhost:9001/3.0/lists/test_list.example.com
237 response:
238- body: {string: !!python/unicode '{"fqdn_listname": "test_list@example.com", "list_id":
239- "test_list.example.com", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"",
240- "list_name": "test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com",
241- "volume": 1, "display_name": "Test_list", "mail_host": "example.com", "member_count":
242- 0}'}
243+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/lists/test_list.example.com",
244+ "mail_host": "example.com", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"",
245+ "member_count": 0, "volume": 1, "list_id": "test_list.example.com", "fqdn_listname":
246+ "test_list@example.com", "list_name": "test_list", "display_name": "Test_list"}'}
247 headers:
248 content-length: ['324']
249 content-type: [application/json; charset=utf-8]
250- date: ['Wed, 15 Apr 2015 20:00:40 GMT']
251- server: [WSGIServer/0.2 CPython/3.4.2]
252+ date: ['Thu, 16 Apr 2015 01:51:38 GMT']
253+ server: [WSGIServer/0.2 CPython/3.4.3]
254 status: {code: 200, message: OK}
255 - request:
256 body: null
257@@ -138,7 +138,7 @@
258 body: {string: !!python/unicode ''}
259 headers:
260 content-length: ['0']
261- date: ['Wed, 15 Apr 2015 20:00:40 GMT']
262- server: [WSGIServer/0.2 CPython/3.4.2]
263+ date: ['Thu, 16 Apr 2015 01:51:39 GMT']
264+ server: [WSGIServer/0.2 CPython/3.4.3]
265 status: {code: 204, message: No Content}
266 version: 1
267
268=== modified file 'src/postorius/tests/fixtures/vcr_cassettes/list_members_access.yaml'
269--- src/postorius/tests/fixtures/vcr_cassettes/list_members_access.yaml 2015-04-15 20:02:05 +0000
270+++ src/postorius/tests/fixtures/vcr_cassettes/list_members_access.yaml 2015-04-16 01:57:12 +0000
271@@ -13,552 +13,555 @@
272 headers:
273 content-length: ['33']
274 content-type: [application/json; charset=utf-8]
275- date: ['Wed, 15 Apr 2015 20:00:41 GMT']
276- server: [WSGIServer/0.2 CPython/3.4.2]
277- status: {code: 400, message: Bad Request}
278-- request:
279- body: null
280- headers:
281- accept-encoding: ['gzip, deflate']
282- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
283- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
284- method: !!python/unicode 'GET'
285- uri: http://localhost:9001/3.0/domains/example.com
286- response:
287- body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
288- "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"",
289- "mail_host": "example.com", "description": null, "url_host": "example.com"}'}
290- headers:
291- content-length: ['233']
292- content-type: [application/json; charset=utf-8]
293- date: ['Wed, 15 Apr 2015 20:00:41 GMT']
294- server: [WSGIServer/0.2 CPython/3.4.2]
295- status: {code: 200, message: OK}
296-- request:
297- body: null
298- headers:
299- accept-encoding: ['gzip, deflate']
300- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
301- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
302- method: !!python/unicode 'GET'
303- uri: http://localhost:9001/3.0/domains/example.com
304- response:
305- body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
306- "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"",
307- "mail_host": "example.com", "description": null, "url_host": "example.com"}'}
308- headers:
309- content-length: ['233']
310- content-type: [application/json; charset=utf-8]
311- date: ['Wed, 15 Apr 2015 20:00:41 GMT']
312- server: [WSGIServer/0.2 CPython/3.4.2]
313- status: {code: 200, message: OK}
314-- request:
315- body: fqdn_listname=foo%40example.com
316- headers:
317- accept-encoding: ['gzip, deflate']
318- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
319- !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
320- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
321- method: !!python/unicode 'POST'
322- uri: http://localhost:9001/3.0/lists
323- response:
324- body: {string: !!python/unicode ''}
325- headers:
326- content-length: ['0']
327- date: ['Wed, 15 Apr 2015 20:00:41 GMT']
328- location: ['http://localhost:9001/3.0/lists/foo.example.com']
329- server: [WSGIServer/0.2 CPython/3.4.2]
330- status: {code: 201, message: Created}
331-- request:
332- body: null
333- headers:
334- accept-encoding: ['gzip, deflate']
335- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
336- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
337- method: !!python/unicode 'GET'
338- uri: http://localhost:9001/3.0/lists/foo.example.com
339- response:
340- body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id":
341- "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"",
342- "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com",
343- "volume": 1, "display_name": "Foo", "mail_host": "example.com", "member_count":
344- 0}'}
345- headers:
346- content-length: ['294']
347- content-type: [application/json; charset=utf-8]
348- date: ['Wed, 15 Apr 2015 20:00:41 GMT']
349- server: [WSGIServer/0.2 CPython/3.4.2]
350- status: {code: 200, message: OK}
351-- request:
352- body: subscriber=owner%40example.com&list_id=foo.example.com&role=owner
353- headers:
354- accept-encoding: ['gzip, deflate']
355- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
356- !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
357- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
358- method: !!python/unicode 'POST'
359- uri: http://localhost:9001/3.0/members
360- response:
361- body: {string: !!python/unicode ''}
362- headers:
363- content-length: ['0']
364- date: ['Wed, 15 Apr 2015 20:00:41 GMT']
365- location: ['http://localhost:9001/3.0/members/65666166344199916015948757016727609115']
366- server: [WSGIServer/0.2 CPython/3.4.2]
367- status: {code: 201, message: Created}
368-- request:
369- body: subscriber=moderator%40example.com&list_id=foo.example.com&role=moderator
370- headers:
371- accept-encoding: ['gzip, deflate']
372- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
373- !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
374- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
375- method: !!python/unicode 'POST'
376- uri: http://localhost:9001/3.0/members
377- response:
378- body: {string: !!python/unicode ''}
379- headers:
380- content-length: ['0']
381- date: ['Wed, 15 Apr 2015 20:00:41 GMT']
382- location: ['http://localhost:9001/3.0/members/142734914141373676799912641898971185828']
383- server: [WSGIServer/0.2 CPython/3.4.2]
384- status: {code: 201, message: Created}
385-- request:
386- body: null
387- headers:
388- accept-encoding: ['gzip, deflate']
389- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
390- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
391- method: !!python/unicode 'DELETE'
392- uri: http://localhost:9001/3.0/lists/foo@example.com
393- response:
394- body: {string: !!python/unicode ''}
395- headers:
396- content-length: ['0']
397- date: ['Wed, 15 Apr 2015 20:00:42 GMT']
398- server: [WSGIServer/0.2 CPython/3.4.2]
399- status: {code: 204, message: No Content}
400-- request:
401- body: mail_host=example.com
402- headers:
403- accept-encoding: ['gzip, deflate']
404- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
405- !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
406- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
407- method: !!python/unicode 'POST'
408- uri: http://localhost:9001/3.0/domains
409- response:
410- body: {string: !!python/unicode 'Duplicate email host: example.com'}
411- headers:
412- content-length: ['33']
413- content-type: [application/json; charset=utf-8]
414- date: ['Wed, 15 Apr 2015 20:00:42 GMT']
415- server: [WSGIServer/0.2 CPython/3.4.2]
416- status: {code: 400, message: Bad Request}
417-- request:
418- body: null
419- headers:
420- accept-encoding: ['gzip, deflate']
421- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
422- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
423- method: !!python/unicode 'GET'
424- uri: http://localhost:9001/3.0/domains/example.com
425- response:
426- body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
427- "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"",
428- "mail_host": "example.com", "description": null, "url_host": "example.com"}'}
429- headers:
430- content-length: ['233']
431- content-type: [application/json; charset=utf-8]
432- date: ['Wed, 15 Apr 2015 20:00:42 GMT']
433- server: [WSGIServer/0.2 CPython/3.4.2]
434- status: {code: 200, message: OK}
435-- request:
436- body: null
437- headers:
438- accept-encoding: ['gzip, deflate']
439- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
440- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
441- method: !!python/unicode 'GET'
442- uri: http://localhost:9001/3.0/domains/example.com
443- response:
444- body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
445- "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"",
446- "mail_host": "example.com", "description": null, "url_host": "example.com"}'}
447- headers:
448- content-length: ['233']
449- content-type: [application/json; charset=utf-8]
450- date: ['Wed, 15 Apr 2015 20:00:42 GMT']
451- server: [WSGIServer/0.2 CPython/3.4.2]
452- status: {code: 200, message: OK}
453-- request:
454- body: fqdn_listname=foo%40example.com
455- headers:
456- accept-encoding: ['gzip, deflate']
457- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
458- !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
459- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
460- method: !!python/unicode 'POST'
461- uri: http://localhost:9001/3.0/lists
462- response:
463- body: {string: !!python/unicode ''}
464- headers:
465- content-length: ['0']
466- date: ['Wed, 15 Apr 2015 20:00:42 GMT']
467- location: ['http://localhost:9001/3.0/lists/foo.example.com']
468- server: [WSGIServer/0.2 CPython/3.4.2]
469- status: {code: 201, message: Created}
470-- request:
471- body: null
472- headers:
473- accept-encoding: ['gzip, deflate']
474- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
475- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
476- method: !!python/unicode 'GET'
477- uri: http://localhost:9001/3.0/lists/foo.example.com
478- response:
479- body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id":
480- "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"",
481- "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com",
482- "volume": 1, "display_name": "Foo", "mail_host": "example.com", "member_count":
483- 0}'}
484- headers:
485- content-length: ['294']
486- content-type: [application/json; charset=utf-8]
487- date: ['Wed, 15 Apr 2015 20:00:42 GMT']
488- server: [WSGIServer/0.2 CPython/3.4.2]
489- status: {code: 200, message: OK}
490-- request:
491- body: subscriber=owner%40example.com&list_id=foo.example.com&role=owner
492- headers:
493- accept-encoding: ['gzip, deflate']
494- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
495- !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
496- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
497- method: !!python/unicode 'POST'
498- uri: http://localhost:9001/3.0/members
499- response:
500- body: {string: !!python/unicode ''}
501- headers:
502- content-length: ['0']
503- date: ['Wed, 15 Apr 2015 20:00:42 GMT']
504- location: ['http://localhost:9001/3.0/members/146478159952862640555572319802110037529']
505- server: [WSGIServer/0.2 CPython/3.4.2]
506- status: {code: 201, message: Created}
507-- request:
508- body: subscriber=moderator%40example.com&list_id=foo.example.com&role=moderator
509- headers:
510- accept-encoding: ['gzip, deflate']
511- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
512- !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
513- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
514- method: !!python/unicode 'POST'
515- uri: http://localhost:9001/3.0/members
516- response:
517- body: {string: !!python/unicode ''}
518- headers:
519- content-length: ['0']
520- date: ['Wed, 15 Apr 2015 20:00:42 GMT']
521- location: ['http://localhost:9001/3.0/members/300345844286885579524106623093994765189']
522- server: [WSGIServer/0.2 CPython/3.4.2]
523- status: {code: 201, message: Created}
524-- request:
525- body: null
526- headers:
527- accept-encoding: ['gzip, deflate']
528- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
529- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
530- method: !!python/unicode 'DELETE'
531- uri: http://localhost:9001/3.0/lists/foo@example.com
532- response:
533- body: {string: !!python/unicode ''}
534- headers:
535- content-length: ['0']
536- date: ['Wed, 15 Apr 2015 20:00:42 GMT']
537- server: [WSGIServer/0.2 CPython/3.4.2]
538- status: {code: 204, message: No Content}
539-- request:
540- body: mail_host=example.com
541- headers:
542- accept-encoding: ['gzip, deflate']
543- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
544- !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
545- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
546- method: !!python/unicode 'POST'
547- uri: http://localhost:9001/3.0/domains
548- response:
549- body: {string: !!python/unicode 'Duplicate email host: example.com'}
550- headers:
551- content-length: ['33']
552- content-type: [application/json; charset=utf-8]
553- date: ['Wed, 15 Apr 2015 20:00:42 GMT']
554- server: [WSGIServer/0.2 CPython/3.4.2]
555- status: {code: 400, message: Bad Request}
556-- request:
557- body: null
558- headers:
559- accept-encoding: ['gzip, deflate']
560- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
561- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
562- method: !!python/unicode 'GET'
563- uri: http://localhost:9001/3.0/domains/example.com
564- response:
565- body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
566- "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"",
567- "mail_host": "example.com", "description": null, "url_host": "example.com"}'}
568- headers:
569- content-length: ['233']
570- content-type: [application/json; charset=utf-8]
571- date: ['Wed, 15 Apr 2015 20:00:42 GMT']
572- server: [WSGIServer/0.2 CPython/3.4.2]
573- status: {code: 200, message: OK}
574-- request:
575- body: null
576- headers:
577- accept-encoding: ['gzip, deflate']
578- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
579- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
580- method: !!python/unicode 'GET'
581- uri: http://localhost:9001/3.0/domains/example.com
582- response:
583- body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
584- "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"",
585- "mail_host": "example.com", "description": null, "url_host": "example.com"}'}
586- headers:
587- content-length: ['233']
588- content-type: [application/json; charset=utf-8]
589- date: ['Wed, 15 Apr 2015 20:00:42 GMT']
590- server: [WSGIServer/0.2 CPython/3.4.2]
591- status: {code: 200, message: OK}
592-- request:
593- body: fqdn_listname=foo%40example.com
594- headers:
595- accept-encoding: ['gzip, deflate']
596- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
597- !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
598- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
599- method: !!python/unicode 'POST'
600- uri: http://localhost:9001/3.0/lists
601- response:
602- body: {string: !!python/unicode ''}
603- headers:
604- content-length: ['0']
605- date: ['Wed, 15 Apr 2015 20:00:43 GMT']
606- location: ['http://localhost:9001/3.0/lists/foo.example.com']
607- server: [WSGIServer/0.2 CPython/3.4.2]
608- status: {code: 201, message: Created}
609-- request:
610- body: null
611- headers:
612- accept-encoding: ['gzip, deflate']
613- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
614- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
615- method: !!python/unicode 'GET'
616- uri: http://localhost:9001/3.0/lists/foo.example.com
617- response:
618- body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id":
619- "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"",
620- "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com",
621- "volume": 1, "display_name": "Foo", "mail_host": "example.com", "member_count":
622- 0}'}
623- headers:
624- content-length: ['294']
625- content-type: [application/json; charset=utf-8]
626- date: ['Wed, 15 Apr 2015 20:00:43 GMT']
627- server: [WSGIServer/0.2 CPython/3.4.2]
628- status: {code: 200, message: OK}
629-- request:
630- body: subscriber=owner%40example.com&list_id=foo.example.com&role=owner
631- headers:
632- accept-encoding: ['gzip, deflate']
633- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
634- !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
635- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
636- method: !!python/unicode 'POST'
637- uri: http://localhost:9001/3.0/members
638- response:
639- body: {string: !!python/unicode ''}
640- headers:
641- content-length: ['0']
642- date: ['Wed, 15 Apr 2015 20:00:43 GMT']
643- location: ['http://localhost:9001/3.0/members/333804327984641227543735764681736417610']
644- server: [WSGIServer/0.2 CPython/3.4.2]
645- status: {code: 201, message: Created}
646-- request:
647- body: subscriber=moderator%40example.com&list_id=foo.example.com&role=moderator
648- headers:
649- accept-encoding: ['gzip, deflate']
650- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
651- !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
652- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
653- method: !!python/unicode 'POST'
654- uri: http://localhost:9001/3.0/members
655- response:
656- body: {string: !!python/unicode ''}
657- headers:
658- content-length: ['0']
659- date: ['Wed, 15 Apr 2015 20:00:43 GMT']
660- location: ['http://localhost:9001/3.0/members/193153637813201025305722262172721795279']
661- server: [WSGIServer/0.2 CPython/3.4.2]
662- status: {code: 201, message: Created}
663-- request:
664- body: null
665- headers:
666- accept-encoding: ['gzip, deflate']
667- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
668- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
669- method: !!python/unicode 'DELETE'
670- uri: http://localhost:9001/3.0/lists/foo@example.com
671- response:
672- body: {string: !!python/unicode ''}
673- headers:
674- content-length: ['0']
675- date: ['Wed, 15 Apr 2015 20:00:43 GMT']
676- server: [WSGIServer/0.2 CPython/3.4.2]
677- status: {code: 204, message: No Content}
678-- request:
679- body: mail_host=example.com
680- headers:
681- accept-encoding: ['gzip, deflate']
682- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
683- !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
684- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
685- method: !!python/unicode 'POST'
686- uri: http://localhost:9001/3.0/domains
687- response:
688- body: {string: !!python/unicode 'Duplicate email host: example.com'}
689- headers:
690- content-length: ['33']
691- content-type: [application/json; charset=utf-8]
692- date: ['Wed, 15 Apr 2015 20:00:43 GMT']
693- server: [WSGIServer/0.2 CPython/3.4.2]
694- status: {code: 400, message: Bad Request}
695-- request:
696- body: null
697- headers:
698- accept-encoding: ['gzip, deflate']
699- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
700- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
701- method: !!python/unicode 'GET'
702- uri: http://localhost:9001/3.0/domains/example.com
703- response:
704- body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
705- "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"",
706- "mail_host": "example.com", "description": null, "url_host": "example.com"}'}
707- headers:
708- content-length: ['233']
709- content-type: [application/json; charset=utf-8]
710- date: ['Wed, 15 Apr 2015 20:00:43 GMT']
711- server: [WSGIServer/0.2 CPython/3.4.2]
712- status: {code: 200, message: OK}
713-- request:
714- body: null
715- headers:
716- accept-encoding: ['gzip, deflate']
717- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
718- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
719- method: !!python/unicode 'GET'
720- uri: http://localhost:9001/3.0/domains/example.com
721- response:
722- body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
723- "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"",
724- "mail_host": "example.com", "description": null, "url_host": "example.com"}'}
725- headers:
726- content-length: ['233']
727- content-type: [application/json; charset=utf-8]
728- date: ['Wed, 15 Apr 2015 20:00:43 GMT']
729- server: [WSGIServer/0.2 CPython/3.4.2]
730- status: {code: 200, message: OK}
731-- request:
732- body: fqdn_listname=foo%40example.com
733- headers:
734- accept-encoding: ['gzip, deflate']
735- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
736- !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
737- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
738- method: !!python/unicode 'POST'
739- uri: http://localhost:9001/3.0/lists
740- response:
741- body: {string: !!python/unicode ''}
742- headers:
743- content-length: ['0']
744- date: ['Wed, 15 Apr 2015 20:00:43 GMT']
745- location: ['http://localhost:9001/3.0/lists/foo.example.com']
746- server: [WSGIServer/0.2 CPython/3.4.2]
747- status: {code: 201, message: Created}
748-- request:
749- body: null
750- headers:
751- accept-encoding: ['gzip, deflate']
752- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
753- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
754- method: !!python/unicode 'GET'
755- uri: http://localhost:9001/3.0/lists/foo.example.com
756- response:
757- body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id":
758- "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"",
759- "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com",
760- "volume": 1, "display_name": "Foo", "mail_host": "example.com", "member_count":
761- 0}'}
762- headers:
763- content-length: ['294']
764- content-type: [application/json; charset=utf-8]
765- date: ['Wed, 15 Apr 2015 20:00:44 GMT']
766- server: [WSGIServer/0.2 CPython/3.4.2]
767- status: {code: 200, message: OK}
768-- request:
769- body: subscriber=owner%40example.com&list_id=foo.example.com&role=owner
770- headers:
771- accept-encoding: ['gzip, deflate']
772- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
773- !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
774- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
775- method: !!python/unicode 'POST'
776- uri: http://localhost:9001/3.0/members
777- response:
778- body: {string: !!python/unicode ''}
779- headers:
780- content-length: ['0']
781- date: ['Wed, 15 Apr 2015 20:00:44 GMT']
782- location: ['http://localhost:9001/3.0/members/326084107676518818095650670971849152636']
783- server: [WSGIServer/0.2 CPython/3.4.2]
784- status: {code: 201, message: Created}
785-- request:
786- body: subscriber=moderator%40example.com&list_id=foo.example.com&role=moderator
787- headers:
788- accept-encoding: ['gzip, deflate']
789- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
790- !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
791- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
792- method: !!python/unicode 'POST'
793- uri: http://localhost:9001/3.0/members
794- response:
795- body: {string: !!python/unicode ''}
796- headers:
797- content-length: ['0']
798- date: ['Wed, 15 Apr 2015 20:00:44 GMT']
799- location: ['http://localhost:9001/3.0/members/258304038484621747948113203888404536161']
800- server: [WSGIServer/0.2 CPython/3.4.2]
801- status: {code: 201, message: Created}
802-- request:
803- body: null
804- headers:
805- accept-encoding: ['gzip, deflate']
806- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
807- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
808- method: !!python/unicode 'GET'
809- uri: http://localhost:9001/3.0/lists/foo@example.com
810- response:
811- body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id":
812- "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"",
813- "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com",
814- "volume": 1, "display_name": "Foo", "mail_host": "example.com", "member_count":
815- 0}'}
816- headers:
817- content-length: ['294']
818- content-type: [application/json; charset=utf-8]
819- date: ['Wed, 15 Apr 2015 20:00:44 GMT']
820- server: [WSGIServer/0.2 CPython/3.4.2]
821+ date: ['Thu, 16 Apr 2015 01:51:41 GMT']
822+ server: [WSGIServer/0.2 CPython/3.4.3]
823+ status: {code: 400, message: Bad Request}
824+- request:
825+ body: null
826+ headers:
827+ accept-encoding: ['gzip, deflate']
828+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
829+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
830+ method: !!python/unicode 'GET'
831+ uri: http://localhost:9001/3.0/domains/example.com
832+ response:
833+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
834+ "base_url": "http://example.com", "mail_host": "example.com", "http_etag":
835+ "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": null, "url_host":
836+ "example.com"}'}
837+ headers:
838+ content-length: ['233']
839+ content-type: [application/json; charset=utf-8]
840+ date: ['Thu, 16 Apr 2015 01:51:41 GMT']
841+ server: [WSGIServer/0.2 CPython/3.4.3]
842+ status: {code: 200, message: OK}
843+- request:
844+ body: null
845+ headers:
846+ accept-encoding: ['gzip, deflate']
847+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
848+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
849+ method: !!python/unicode 'GET'
850+ uri: http://localhost:9001/3.0/domains/example.com
851+ response:
852+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
853+ "base_url": "http://example.com", "mail_host": "example.com", "http_etag":
854+ "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": null, "url_host":
855+ "example.com"}'}
856+ headers:
857+ content-length: ['233']
858+ content-type: [application/json; charset=utf-8]
859+ date: ['Thu, 16 Apr 2015 01:51:41 GMT']
860+ server: [WSGIServer/0.2 CPython/3.4.3]
861+ status: {code: 200, message: OK}
862+- request:
863+ body: fqdn_listname=foo%40example.com
864+ headers:
865+ accept-encoding: ['gzip, deflate']
866+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
867+ !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
868+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
869+ method: !!python/unicode 'POST'
870+ uri: http://localhost:9001/3.0/lists
871+ response:
872+ body: {string: !!python/unicode ''}
873+ headers:
874+ content-length: ['0']
875+ date: ['Thu, 16 Apr 2015 01:51:41 GMT']
876+ location: ['http://localhost:9001/3.0/lists/foo.example.com']
877+ server: [WSGIServer/0.2 CPython/3.4.3]
878+ status: {code: 201, message: Created}
879+- request:
880+ body: null
881+ headers:
882+ accept-encoding: ['gzip, deflate']
883+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
884+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
885+ method: !!python/unicode 'GET'
886+ uri: http://localhost:9001/3.0/lists/foo.example.com
887+ response:
888+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/lists/foo.example.com",
889+ "mail_host": "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"",
890+ "member_count": 0, "volume": 1, "list_id": "foo.example.com", "fqdn_listname":
891+ "foo@example.com", "list_name": "foo", "display_name": "Foo"}'}
892+ headers:
893+ content-length: ['294']
894+ content-type: [application/json; charset=utf-8]
895+ date: ['Thu, 16 Apr 2015 01:51:41 GMT']
896+ server: [WSGIServer/0.2 CPython/3.4.3]
897+ status: {code: 200, message: OK}
898+- request:
899+ body: role=owner&subscriber=owner%40example.com&list_id=foo.example.com
900+ headers:
901+ accept-encoding: ['gzip, deflate']
902+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
903+ !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
904+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
905+ method: !!python/unicode 'POST'
906+ uri: http://localhost:9001/3.0/members
907+ response:
908+ body: {string: !!python/unicode ''}
909+ headers:
910+ content-length: ['0']
911+ date: ['Thu, 16 Apr 2015 01:51:42 GMT']
912+ location: ['http://localhost:9001/3.0/members/49703415119608657405006949338764946132']
913+ server: [WSGIServer/0.2 CPython/3.4.3]
914+ status: {code: 201, message: Created}
915+- request:
916+ body: role=moderator&subscriber=moderator%40example.com&list_id=foo.example.com
917+ headers:
918+ accept-encoding: ['gzip, deflate']
919+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
920+ !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
921+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
922+ method: !!python/unicode 'POST'
923+ uri: http://localhost:9001/3.0/members
924+ response:
925+ body: {string: !!python/unicode ''}
926+ headers:
927+ content-length: ['0']
928+ date: ['Thu, 16 Apr 2015 01:51:42 GMT']
929+ location: ['http://localhost:9001/3.0/members/176338353524403307921967334086606250307']
930+ server: [WSGIServer/0.2 CPython/3.4.3]
931+ status: {code: 201, message: Created}
932+- request:
933+ body: null
934+ headers:
935+ accept-encoding: ['gzip, deflate']
936+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
937+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
938+ method: !!python/unicode 'DELETE'
939+ uri: http://localhost:9001/3.0/lists/foo@example.com
940+ response:
941+ body: {string: !!python/unicode ''}
942+ headers:
943+ content-length: ['0']
944+ date: ['Thu, 16 Apr 2015 01:51:42 GMT']
945+ server: [WSGIServer/0.2 CPython/3.4.3]
946+ status: {code: 204, message: No Content}
947+- request:
948+ body: mail_host=example.com
949+ headers:
950+ accept-encoding: ['gzip, deflate']
951+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
952+ !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
953+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
954+ method: !!python/unicode 'POST'
955+ uri: http://localhost:9001/3.0/domains
956+ response:
957+ body: {string: !!python/unicode 'Duplicate email host: example.com'}
958+ headers:
959+ content-length: ['33']
960+ content-type: [application/json; charset=utf-8]
961+ date: ['Thu, 16 Apr 2015 01:51:42 GMT']
962+ server: [WSGIServer/0.2 CPython/3.4.3]
963+ status: {code: 400, message: Bad Request}
964+- request:
965+ body: null
966+ headers:
967+ accept-encoding: ['gzip, deflate']
968+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
969+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
970+ method: !!python/unicode 'GET'
971+ uri: http://localhost:9001/3.0/domains/example.com
972+ response:
973+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
974+ "base_url": "http://example.com", "mail_host": "example.com", "http_etag":
975+ "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": null, "url_host":
976+ "example.com"}'}
977+ headers:
978+ content-length: ['233']
979+ content-type: [application/json; charset=utf-8]
980+ date: ['Thu, 16 Apr 2015 01:51:42 GMT']
981+ server: [WSGIServer/0.2 CPython/3.4.3]
982+ status: {code: 200, message: OK}
983+- request:
984+ body: null
985+ headers:
986+ accept-encoding: ['gzip, deflate']
987+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
988+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
989+ method: !!python/unicode 'GET'
990+ uri: http://localhost:9001/3.0/domains/example.com
991+ response:
992+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
993+ "base_url": "http://example.com", "mail_host": "example.com", "http_etag":
994+ "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": null, "url_host":
995+ "example.com"}'}
996+ headers:
997+ content-length: ['233']
998+ content-type: [application/json; charset=utf-8]
999+ date: ['Thu, 16 Apr 2015 01:51:43 GMT']
1000+ server: [WSGIServer/0.2 CPython/3.4.3]
1001+ status: {code: 200, message: OK}
1002+- request:
1003+ body: fqdn_listname=foo%40example.com
1004+ headers:
1005+ accept-encoding: ['gzip, deflate']
1006+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
1007+ !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
1008+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
1009+ method: !!python/unicode 'POST'
1010+ uri: http://localhost:9001/3.0/lists
1011+ response:
1012+ body: {string: !!python/unicode ''}
1013+ headers:
1014+ content-length: ['0']
1015+ date: ['Thu, 16 Apr 2015 01:51:43 GMT']
1016+ location: ['http://localhost:9001/3.0/lists/foo.example.com']
1017+ server: [WSGIServer/0.2 CPython/3.4.3]
1018+ status: {code: 201, message: Created}
1019+- request:
1020+ body: null
1021+ headers:
1022+ accept-encoding: ['gzip, deflate']
1023+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
1024+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
1025+ method: !!python/unicode 'GET'
1026+ uri: http://localhost:9001/3.0/lists/foo.example.com
1027+ response:
1028+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/lists/foo.example.com",
1029+ "mail_host": "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"",
1030+ "member_count": 0, "volume": 1, "list_id": "foo.example.com", "fqdn_listname":
1031+ "foo@example.com", "list_name": "foo", "display_name": "Foo"}'}
1032+ headers:
1033+ content-length: ['294']
1034+ content-type: [application/json; charset=utf-8]
1035+ date: ['Thu, 16 Apr 2015 01:51:43 GMT']
1036+ server: [WSGIServer/0.2 CPython/3.4.3]
1037+ status: {code: 200, message: OK}
1038+- request:
1039+ body: role=owner&subscriber=owner%40example.com&list_id=foo.example.com
1040+ headers:
1041+ accept-encoding: ['gzip, deflate']
1042+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
1043+ !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
1044+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
1045+ method: !!python/unicode 'POST'
1046+ uri: http://localhost:9001/3.0/members
1047+ response:
1048+ body: {string: !!python/unicode ''}
1049+ headers:
1050+ content-length: ['0']
1051+ date: ['Thu, 16 Apr 2015 01:51:43 GMT']
1052+ location: ['http://localhost:9001/3.0/members/39491346581138772579472526760344587128']
1053+ server: [WSGIServer/0.2 CPython/3.4.3]
1054+ status: {code: 201, message: Created}
1055+- request:
1056+ body: role=moderator&subscriber=moderator%40example.com&list_id=foo.example.com
1057+ headers:
1058+ accept-encoding: ['gzip, deflate']
1059+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
1060+ !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
1061+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
1062+ method: !!python/unicode 'POST'
1063+ uri: http://localhost:9001/3.0/members
1064+ response:
1065+ body: {string: !!python/unicode ''}
1066+ headers:
1067+ content-length: ['0']
1068+ date: ['Thu, 16 Apr 2015 01:51:43 GMT']
1069+ location: ['http://localhost:9001/3.0/members/85863942895915153574925138426542754591']
1070+ server: [WSGIServer/0.2 CPython/3.4.3]
1071+ status: {code: 201, message: Created}
1072+- request:
1073+ body: null
1074+ headers:
1075+ accept-encoding: ['gzip, deflate']
1076+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
1077+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
1078+ method: !!python/unicode 'DELETE'
1079+ uri: http://localhost:9001/3.0/lists/foo@example.com
1080+ response:
1081+ body: {string: !!python/unicode ''}
1082+ headers:
1083+ content-length: ['0']
1084+ date: ['Thu, 16 Apr 2015 01:51:44 GMT']
1085+ server: [WSGIServer/0.2 CPython/3.4.3]
1086+ status: {code: 204, message: No Content}
1087+- request:
1088+ body: mail_host=example.com
1089+ headers:
1090+ accept-encoding: ['gzip, deflate']
1091+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
1092+ !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
1093+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
1094+ method: !!python/unicode 'POST'
1095+ uri: http://localhost:9001/3.0/domains
1096+ response:
1097+ body: {string: !!python/unicode 'Duplicate email host: example.com'}
1098+ headers:
1099+ content-length: ['33']
1100+ content-type: [application/json; charset=utf-8]
1101+ date: ['Thu, 16 Apr 2015 01:51:44 GMT']
1102+ server: [WSGIServer/0.2 CPython/3.4.3]
1103+ status: {code: 400, message: Bad Request}
1104+- request:
1105+ body: null
1106+ headers:
1107+ accept-encoding: ['gzip, deflate']
1108+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
1109+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
1110+ method: !!python/unicode 'GET'
1111+ uri: http://localhost:9001/3.0/domains/example.com
1112+ response:
1113+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
1114+ "base_url": "http://example.com", "mail_host": "example.com", "http_etag":
1115+ "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": null, "url_host":
1116+ "example.com"}'}
1117+ headers:
1118+ content-length: ['233']
1119+ content-type: [application/json; charset=utf-8]
1120+ date: ['Thu, 16 Apr 2015 01:51:44 GMT']
1121+ server: [WSGIServer/0.2 CPython/3.4.3]
1122+ status: {code: 200, message: OK}
1123+- request:
1124+ body: null
1125+ headers:
1126+ accept-encoding: ['gzip, deflate']
1127+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
1128+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
1129+ method: !!python/unicode 'GET'
1130+ uri: http://localhost:9001/3.0/domains/example.com
1131+ response:
1132+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
1133+ "base_url": "http://example.com", "mail_host": "example.com", "http_etag":
1134+ "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": null, "url_host":
1135+ "example.com"}'}
1136+ headers:
1137+ content-length: ['233']
1138+ content-type: [application/json; charset=utf-8]
1139+ date: ['Thu, 16 Apr 2015 01:51:44 GMT']
1140+ server: [WSGIServer/0.2 CPython/3.4.3]
1141+ status: {code: 200, message: OK}
1142+- request:
1143+ body: fqdn_listname=foo%40example.com
1144+ headers:
1145+ accept-encoding: ['gzip, deflate']
1146+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
1147+ !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
1148+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
1149+ method: !!python/unicode 'POST'
1150+ uri: http://localhost:9001/3.0/lists
1151+ response:
1152+ body: {string: !!python/unicode ''}
1153+ headers:
1154+ content-length: ['0']
1155+ date: ['Thu, 16 Apr 2015 01:51:44 GMT']
1156+ location: ['http://localhost:9001/3.0/lists/foo.example.com']
1157+ server: [WSGIServer/0.2 CPython/3.4.3]
1158+ status: {code: 201, message: Created}
1159+- request:
1160+ body: null
1161+ headers:
1162+ accept-encoding: ['gzip, deflate']
1163+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
1164+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
1165+ method: !!python/unicode 'GET'
1166+ uri: http://localhost:9001/3.0/lists/foo.example.com
1167+ response:
1168+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/lists/foo.example.com",
1169+ "mail_host": "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"",
1170+ "member_count": 0, "volume": 1, "list_id": "foo.example.com", "fqdn_listname":
1171+ "foo@example.com", "list_name": "foo", "display_name": "Foo"}'}
1172+ headers:
1173+ content-length: ['294']
1174+ content-type: [application/json; charset=utf-8]
1175+ date: ['Thu, 16 Apr 2015 01:51:44 GMT']
1176+ server: [WSGIServer/0.2 CPython/3.4.3]
1177+ status: {code: 200, message: OK}
1178+- request:
1179+ body: role=owner&subscriber=owner%40example.com&list_id=foo.example.com
1180+ headers:
1181+ accept-encoding: ['gzip, deflate']
1182+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
1183+ !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
1184+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
1185+ method: !!python/unicode 'POST'
1186+ uri: http://localhost:9001/3.0/members
1187+ response:
1188+ body: {string: !!python/unicode ''}
1189+ headers:
1190+ content-length: ['0']
1191+ date: ['Thu, 16 Apr 2015 01:51:45 GMT']
1192+ location: ['http://localhost:9001/3.0/members/315501226205554974129995407579709836908']
1193+ server: [WSGIServer/0.2 CPython/3.4.3]
1194+ status: {code: 201, message: Created}
1195+- request:
1196+ body: role=moderator&subscriber=moderator%40example.com&list_id=foo.example.com
1197+ headers:
1198+ accept-encoding: ['gzip, deflate']
1199+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
1200+ !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
1201+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
1202+ method: !!python/unicode 'POST'
1203+ uri: http://localhost:9001/3.0/members
1204+ response:
1205+ body: {string: !!python/unicode ''}
1206+ headers:
1207+ content-length: ['0']
1208+ date: ['Thu, 16 Apr 2015 01:51:45 GMT']
1209+ location: ['http://localhost:9001/3.0/members/93458890021964076224043798768417088840']
1210+ server: [WSGIServer/0.2 CPython/3.4.3]
1211+ status: {code: 201, message: Created}
1212+- request:
1213+ body: null
1214+ headers:
1215+ accept-encoding: ['gzip, deflate']
1216+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
1217+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
1218+ method: !!python/unicode 'DELETE'
1219+ uri: http://localhost:9001/3.0/lists/foo@example.com
1220+ response:
1221+ body: {string: !!python/unicode ''}
1222+ headers:
1223+ content-length: ['0']
1224+ date: ['Thu, 16 Apr 2015 01:51:46 GMT']
1225+ server: [WSGIServer/0.2 CPython/3.4.3]
1226+ status: {code: 204, message: No Content}
1227+- request:
1228+ body: mail_host=example.com
1229+ headers:
1230+ accept-encoding: ['gzip, deflate']
1231+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
1232+ !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
1233+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
1234+ method: !!python/unicode 'POST'
1235+ uri: http://localhost:9001/3.0/domains
1236+ response:
1237+ body: {string: !!python/unicode 'Duplicate email host: example.com'}
1238+ headers:
1239+ content-length: ['33']
1240+ content-type: [application/json; charset=utf-8]
1241+ date: ['Thu, 16 Apr 2015 01:51:46 GMT']
1242+ server: [WSGIServer/0.2 CPython/3.4.3]
1243+ status: {code: 400, message: Bad Request}
1244+- request:
1245+ body: null
1246+ headers:
1247+ accept-encoding: ['gzip, deflate']
1248+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
1249+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
1250+ method: !!python/unicode 'GET'
1251+ uri: http://localhost:9001/3.0/domains/example.com
1252+ response:
1253+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
1254+ "base_url": "http://example.com", "mail_host": "example.com", "http_etag":
1255+ "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": null, "url_host":
1256+ "example.com"}'}
1257+ headers:
1258+ content-length: ['233']
1259+ content-type: [application/json; charset=utf-8]
1260+ date: ['Thu, 16 Apr 2015 01:51:46 GMT']
1261+ server: [WSGIServer/0.2 CPython/3.4.3]
1262+ status: {code: 200, message: OK}
1263+- request:
1264+ body: null
1265+ headers:
1266+ accept-encoding: ['gzip, deflate']
1267+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
1268+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
1269+ method: !!python/unicode 'GET'
1270+ uri: http://localhost:9001/3.0/domains/example.com
1271+ response:
1272+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
1273+ "base_url": "http://example.com", "mail_host": "example.com", "http_etag":
1274+ "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": null, "url_host":
1275+ "example.com"}'}
1276+ headers:
1277+ content-length: ['233']
1278+ content-type: [application/json; charset=utf-8]
1279+ date: ['Thu, 16 Apr 2015 01:51:46 GMT']
1280+ server: [WSGIServer/0.2 CPython/3.4.3]
1281+ status: {code: 200, message: OK}
1282+- request:
1283+ body: fqdn_listname=foo%40example.com
1284+ headers:
1285+ accept-encoding: ['gzip, deflate']
1286+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
1287+ !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
1288+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
1289+ method: !!python/unicode 'POST'
1290+ uri: http://localhost:9001/3.0/lists
1291+ response:
1292+ body: {string: !!python/unicode ''}
1293+ headers:
1294+ content-length: ['0']
1295+ date: ['Thu, 16 Apr 2015 01:51:46 GMT']
1296+ location: ['http://localhost:9001/3.0/lists/foo.example.com']
1297+ server: [WSGIServer/0.2 CPython/3.4.3]
1298+ status: {code: 201, message: Created}
1299+- request:
1300+ body: null
1301+ headers:
1302+ accept-encoding: ['gzip, deflate']
1303+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
1304+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
1305+ method: !!python/unicode 'GET'
1306+ uri: http://localhost:9001/3.0/lists/foo.example.com
1307+ response:
1308+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/lists/foo.example.com",
1309+ "mail_host": "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"",
1310+ "member_count": 0, "volume": 1, "list_id": "foo.example.com", "fqdn_listname":
1311+ "foo@example.com", "list_name": "foo", "display_name": "Foo"}'}
1312+ headers:
1313+ content-length: ['294']
1314+ content-type: [application/json; charset=utf-8]
1315+ date: ['Thu, 16 Apr 2015 01:51:46 GMT']
1316+ server: [WSGIServer/0.2 CPython/3.4.3]
1317+ status: {code: 200, message: OK}
1318+- request:
1319+ body: role=owner&subscriber=owner%40example.com&list_id=foo.example.com
1320+ headers:
1321+ accept-encoding: ['gzip, deflate']
1322+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
1323+ !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
1324+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
1325+ method: !!python/unicode 'POST'
1326+ uri: http://localhost:9001/3.0/members
1327+ response:
1328+ body: {string: !!python/unicode ''}
1329+ headers:
1330+ content-length: ['0']
1331+ date: ['Thu, 16 Apr 2015 01:51:47 GMT']
1332+ location: ['http://localhost:9001/3.0/members/327748619120799940833298579555744587438']
1333+ server: [WSGIServer/0.2 CPython/3.4.3]
1334+ status: {code: 201, message: Created}
1335+- request:
1336+ body: role=moderator&subscriber=moderator%40example.com&list_id=foo.example.com
1337+ headers:
1338+ accept-encoding: ['gzip, deflate']
1339+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
1340+ !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
1341+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
1342+ method: !!python/unicode 'POST'
1343+ uri: http://localhost:9001/3.0/members
1344+ response:
1345+ body: {string: !!python/unicode ''}
1346+ headers:
1347+ content-length: ['0']
1348+ date: ['Thu, 16 Apr 2015 01:51:47 GMT']
1349+ location: ['http://localhost:9001/3.0/members/49451997350097409256603904143003234053']
1350+ server: [WSGIServer/0.2 CPython/3.4.3]
1351+ status: {code: 201, message: Created}
1352+- request:
1353+ body: null
1354+ headers:
1355+ accept-encoding: ['gzip, deflate']
1356+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
1357+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
1358+ method: !!python/unicode 'GET'
1359+ uri: http://localhost:9001/3.0/lists/foo@example.com
1360+ response:
1361+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/lists/foo.example.com",
1362+ "mail_host": "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"",
1363+ "member_count": 0, "volume": 1, "list_id": "foo.example.com", "fqdn_listname":
1364+ "foo@example.com", "list_name": "foo", "display_name": "Foo"}'}
1365+ headers:
1366+ content-length: ['294']
1367+ content-type: [application/json; charset=utf-8]
1368+ date: ['Thu, 16 Apr 2015 01:51:47 GMT']
1369+ server: [WSGIServer/0.2 CPython/3.4.3]
1370 status: {code: 200, message: OK}
1371 - request:
1372 body: null
1373@@ -569,13 +572,12 @@
1374 method: !!python/unicode 'GET'
1375 uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1
1376 response:
1377- body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"",
1378- "start": 0, "total_size": 0}'}
1379+ body: {string: !!python/unicode '{"start": 0, "total_size": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\""}'}
1380 headers:
1381 content-length: ['90']
1382 content-type: [application/json; charset=utf-8]
1383- date: ['Wed, 15 Apr 2015 20:00:44 GMT']
1384- server: [WSGIServer/0.2 CPython/3.4.2]
1385+ date: ['Thu, 16 Apr 2015 01:51:47 GMT']
1386+ server: [WSGIServer/0.2 CPython/3.4.3]
1387 status: {code: 200, message: OK}
1388 - request:
1389 body: null
1390@@ -586,17 +588,17 @@
1391 method: !!python/unicode 'GET'
1392 uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner
1393 response:
1394- body: {string: !!python/unicode '{"http_etag": "\"4ed6be8ec16e2102e963534eb944a8708b16a05e\"",
1395- "entries": [{"delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/326084107676518818095650670971849152636",
1396- "email": "owner@example.com", "list_id": "foo.example.com", "user": "http://localhost:9001/3.0/users/117102017827318954078289964069449293796",
1397- "role": "owner", "http_etag": "\"3abaf9da7ad18416685dce89e0b8e18be05ecd41\"",
1398- "address": "http://localhost:9001/3.0/addresses/owner@example.com", "member_id":
1399- 326084107676518818095650670971849152636}], "start": 0, "total_size": 1}'}
1400+ body: {string: !!python/unicode '{"entries": [{"address": "http://localhost:9001/3.0/addresses/owner@example.com",
1401+ "self_link": "http://localhost:9001/3.0/members/327748619120799940833298579555744587438",
1402+ "delivery_mode": "regular", "member_id": 327748619120799940833298579555744587438,
1403+ "http_etag": "\"71e9fd3bb5bcbdc7f008346b0000649fea1e12c2\"", "list_id": "foo.example.com",
1404+ "email": "owner@example.com", "role": "owner", "user": "http://localhost:9001/3.0/users/32073274118090512529642080937930188494"}],
1405+ "start": 0, "total_size": 1, "http_etag": "\"bd5775d35c0ffdb47222b673200576e911f2436e\""}'}
1406 headers:
1407- content-length: ['566']
1408+ content-length: ['565']
1409 content-type: [application/json; charset=utf-8]
1410- date: ['Wed, 15 Apr 2015 20:00:44 GMT']
1411- server: [WSGIServer/0.2 CPython/3.4.2]
1412+ date: ['Thu, 16 Apr 2015 01:51:47 GMT']
1413+ server: [WSGIServer/0.2 CPython/3.4.3]
1414 status: {code: 200, message: OK}
1415 - request:
1416 body: null
1417@@ -607,17 +609,17 @@
1418 method: !!python/unicode 'GET'
1419 uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator
1420 response:
1421- body: {string: !!python/unicode '{"http_etag": "\"66af03650198a5f13672fbc182ea7234647d1f1d\"",
1422- "entries": [{"delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/258304038484621747948113203888404536161",
1423- "email": "moderator@example.com", "list_id": "foo.example.com", "user": "http://localhost:9001/3.0/users/313429703557169445575348239981723434246",
1424- "role": "moderator", "http_etag": "\"762fab231ab86f1893701ceed01e36aa92827b69\"",
1425- "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "member_id":
1426- 258304038484621747948113203888404536161}], "start": 0, "total_size": 1}'}
1427+ body: {string: !!python/unicode '{"entries": [{"address": "http://localhost:9001/3.0/addresses/moderator@example.com",
1428+ "self_link": "http://localhost:9001/3.0/members/49451997350097409256603904143003234053",
1429+ "delivery_mode": "regular", "member_id": 49451997350097409256603904143003234053,
1430+ "http_etag": "\"50d7a62afedf1752de99ccc798ec4208c1785eac\"", "list_id": "foo.example.com",
1431+ "email": "moderator@example.com", "role": "moderator", "user": "http://localhost:9001/3.0/users/90106461521943811535974436365876875695"}],
1432+ "start": 0, "total_size": 1, "http_etag": "\"c3add3c9b647c472e13ca1c75d9fe2e80f4642fc\""}'}
1433 headers:
1434- content-length: ['578']
1435+ content-length: ['575']
1436 content-type: [application/json; charset=utf-8]
1437- date: ['Wed, 15 Apr 2015 20:00:44 GMT']
1438- server: [WSGIServer/0.2 CPython/3.4.2]
1439+ date: ['Thu, 16 Apr 2015 01:51:47 GMT']
1440+ server: [WSGIServer/0.2 CPython/3.4.3]
1441 status: {code: 200, message: OK}
1442 - request:
1443 body: null
1444@@ -628,16 +630,15 @@
1445 method: !!python/unicode 'GET'
1446 uri: http://localhost:9001/3.0/lists/foo@example.com
1447 response:
1448- body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id":
1449- "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"",
1450- "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com",
1451- "volume": 1, "display_name": "Foo", "mail_host": "example.com", "member_count":
1452- 0}'}
1453+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/lists/foo.example.com",
1454+ "mail_host": "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"",
1455+ "member_count": 0, "volume": 1, "list_id": "foo.example.com", "fqdn_listname":
1456+ "foo@example.com", "list_name": "foo", "display_name": "Foo"}'}
1457 headers:
1458 content-length: ['294']
1459 content-type: [application/json; charset=utf-8]
1460- date: ['Wed, 15 Apr 2015 20:00:44 GMT']
1461- server: [WSGIServer/0.2 CPython/3.4.2]
1462+ date: ['Thu, 16 Apr 2015 01:51:47 GMT']
1463+ server: [WSGIServer/0.2 CPython/3.4.3]
1464 status: {code: 200, message: OK}
1465 - request:
1466 body: null
1467@@ -648,17 +649,17 @@
1468 method: !!python/unicode 'GET'
1469 uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner
1470 response:
1471- body: {string: !!python/unicode '{"http_etag": "\"4ed6be8ec16e2102e963534eb944a8708b16a05e\"",
1472- "entries": [{"delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/326084107676518818095650670971849152636",
1473- "email": "owner@example.com", "list_id": "foo.example.com", "user": "http://localhost:9001/3.0/users/117102017827318954078289964069449293796",
1474- "role": "owner", "http_etag": "\"3abaf9da7ad18416685dce89e0b8e18be05ecd41\"",
1475- "address": "http://localhost:9001/3.0/addresses/owner@example.com", "member_id":
1476- 326084107676518818095650670971849152636}], "start": 0, "total_size": 1}'}
1477+ body: {string: !!python/unicode '{"entries": [{"address": "http://localhost:9001/3.0/addresses/owner@example.com",
1478+ "self_link": "http://localhost:9001/3.0/members/327748619120799940833298579555744587438",
1479+ "delivery_mode": "regular", "member_id": 327748619120799940833298579555744587438,
1480+ "http_etag": "\"71e9fd3bb5bcbdc7f008346b0000649fea1e12c2\"", "list_id": "foo.example.com",
1481+ "email": "owner@example.com", "role": "owner", "user": "http://localhost:9001/3.0/users/32073274118090512529642080937930188494"}],
1482+ "start": 0, "total_size": 1, "http_etag": "\"bd5775d35c0ffdb47222b673200576e911f2436e\""}'}
1483 headers:
1484- content-length: ['566']
1485+ content-length: ['565']
1486 content-type: [application/json; charset=utf-8]
1487- date: ['Wed, 15 Apr 2015 20:00:44 GMT']
1488- server: [WSGIServer/0.2 CPython/3.4.2]
1489+ date: ['Thu, 16 Apr 2015 01:51:47 GMT']
1490+ server: [WSGIServer/0.2 CPython/3.4.3]
1491 status: {code: 200, message: OK}
1492 - request:
1493 body: null
1494@@ -672,8 +673,8 @@
1495 body: {string: !!python/unicode ''}
1496 headers:
1497 content-length: ['0']
1498- date: ['Wed, 15 Apr 2015 20:00:44 GMT']
1499- server: [WSGIServer/0.2 CPython/3.4.2]
1500+ date: ['Thu, 16 Apr 2015 01:51:48 GMT']
1501+ server: [WSGIServer/0.2 CPython/3.4.3]
1502 status: {code: 204, message: No Content}
1503 - request:
1504 body: mail_host=example.com
1505@@ -689,8 +690,8 @@
1506 headers:
1507 content-length: ['33']
1508 content-type: [application/json; charset=utf-8]
1509- date: ['Wed, 15 Apr 2015 20:00:45 GMT']
1510- server: [WSGIServer/0.2 CPython/3.4.2]
1511+ date: ['Thu, 16 Apr 2015 01:51:49 GMT']
1512+ server: [WSGIServer/0.2 CPython/3.4.3]
1513 status: {code: 400, message: Bad Request}
1514 - request:
1515 body: null
1516@@ -702,13 +703,14 @@
1517 uri: http://localhost:9001/3.0/domains/example.com
1518 response:
1519 body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
1520- "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"",
1521- "mail_host": "example.com", "description": null, "url_host": "example.com"}'}
1522+ "base_url": "http://example.com", "mail_host": "example.com", "http_etag":
1523+ "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": null, "url_host":
1524+ "example.com"}'}
1525 headers:
1526 content-length: ['233']
1527 content-type: [application/json; charset=utf-8]
1528- date: ['Wed, 15 Apr 2015 20:00:45 GMT']
1529- server: [WSGIServer/0.2 CPython/3.4.2]
1530+ date: ['Thu, 16 Apr 2015 01:51:49 GMT']
1531+ server: [WSGIServer/0.2 CPython/3.4.3]
1532 status: {code: 200, message: OK}
1533 - request:
1534 body: null
1535@@ -720,13 +722,14 @@
1536 uri: http://localhost:9001/3.0/domains/example.com
1537 response:
1538 body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
1539- "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"",
1540- "mail_host": "example.com", "description": null, "url_host": "example.com"}'}
1541+ "base_url": "http://example.com", "mail_host": "example.com", "http_etag":
1542+ "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": null, "url_host":
1543+ "example.com"}'}
1544 headers:
1545 content-length: ['233']
1546 content-type: [application/json; charset=utf-8]
1547- date: ['Wed, 15 Apr 2015 20:00:45 GMT']
1548- server: [WSGIServer/0.2 CPython/3.4.2]
1549+ date: ['Thu, 16 Apr 2015 01:51:49 GMT']
1550+ server: [WSGIServer/0.2 CPython/3.4.3]
1551 status: {code: 200, message: OK}
1552 - request:
1553 body: fqdn_listname=foo%40example.com
1554@@ -741,9 +744,9 @@
1555 body: {string: !!python/unicode ''}
1556 headers:
1557 content-length: ['0']
1558- date: ['Wed, 15 Apr 2015 20:00:45 GMT']
1559+ date: ['Thu, 16 Apr 2015 01:51:49 GMT']
1560 location: ['http://localhost:9001/3.0/lists/foo.example.com']
1561- server: [WSGIServer/0.2 CPython/3.4.2]
1562+ server: [WSGIServer/0.2 CPython/3.4.3]
1563 status: {code: 201, message: Created}
1564 - request:
1565 body: null
1566@@ -754,19 +757,18 @@
1567 method: !!python/unicode 'GET'
1568 uri: http://localhost:9001/3.0/lists/foo.example.com
1569 response:
1570- body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id":
1571- "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"",
1572- "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com",
1573- "volume": 1, "display_name": "Foo", "mail_host": "example.com", "member_count":
1574- 0}'}
1575+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/lists/foo.example.com",
1576+ "mail_host": "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"",
1577+ "member_count": 0, "volume": 1, "list_id": "foo.example.com", "fqdn_listname":
1578+ "foo@example.com", "list_name": "foo", "display_name": "Foo"}'}
1579 headers:
1580 content-length: ['294']
1581 content-type: [application/json; charset=utf-8]
1582- date: ['Wed, 15 Apr 2015 20:00:45 GMT']
1583- server: [WSGIServer/0.2 CPython/3.4.2]
1584+ date: ['Thu, 16 Apr 2015 01:51:49 GMT']
1585+ server: [WSGIServer/0.2 CPython/3.4.3]
1586 status: {code: 200, message: OK}
1587 - request:
1588- body: subscriber=owner%40example.com&list_id=foo.example.com&role=owner
1589+ body: role=owner&subscriber=owner%40example.com&list_id=foo.example.com
1590 headers:
1591 accept-encoding: ['gzip, deflate']
1592 !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
1593@@ -778,12 +780,12 @@
1594 body: {string: !!python/unicode ''}
1595 headers:
1596 content-length: ['0']
1597- date: ['Wed, 15 Apr 2015 20:00:45 GMT']
1598- location: ['http://localhost:9001/3.0/members/33048892732221464402686396653921417791']
1599- server: [WSGIServer/0.2 CPython/3.4.2]
1600+ date: ['Thu, 16 Apr 2015 01:51:49 GMT']
1601+ location: ['http://localhost:9001/3.0/members/277171958044433125392428556889191981007']
1602+ server: [WSGIServer/0.2 CPython/3.4.3]
1603 status: {code: 201, message: Created}
1604 - request:
1605- body: subscriber=moderator%40example.com&list_id=foo.example.com&role=moderator
1606+ body: role=moderator&subscriber=moderator%40example.com&list_id=foo.example.com
1607 headers:
1608 accept-encoding: ['gzip, deflate']
1609 !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
1610@@ -795,9 +797,9 @@
1611 body: {string: !!python/unicode ''}
1612 headers:
1613 content-length: ['0']
1614- date: ['Wed, 15 Apr 2015 20:00:45 GMT']
1615- location: ['http://localhost:9001/3.0/members/303945703475387901708938435045952054401']
1616- server: [WSGIServer/0.2 CPython/3.4.2]
1617+ date: ['Thu, 16 Apr 2015 01:51:49 GMT']
1618+ location: ['http://localhost:9001/3.0/members/228569000801938867677083995112755057178']
1619+ server: [WSGIServer/0.2 CPython/3.4.3]
1620 status: {code: 201, message: Created}
1621 - request:
1622 body: null
1623@@ -808,16 +810,15 @@
1624 method: !!python/unicode 'GET'
1625 uri: http://localhost:9001/3.0/lists/foo@example.com
1626 response:
1627- body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id":
1628- "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"",
1629- "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com",
1630- "volume": 1, "display_name": "Foo", "mail_host": "example.com", "member_count":
1631- 0}'}
1632+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/lists/foo.example.com",
1633+ "mail_host": "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"",
1634+ "member_count": 0, "volume": 1, "list_id": "foo.example.com", "fqdn_listname":
1635+ "foo@example.com", "list_name": "foo", "display_name": "Foo"}'}
1636 headers:
1637 content-length: ['294']
1638 content-type: [application/json; charset=utf-8]
1639- date: ['Wed, 15 Apr 2015 20:00:45 GMT']
1640- server: [WSGIServer/0.2 CPython/3.4.2]
1641+ date: ['Thu, 16 Apr 2015 01:51:50 GMT']
1642+ server: [WSGIServer/0.2 CPython/3.4.3]
1643 status: {code: 200, message: OK}
1644 - request:
1645 body: null
1646@@ -828,13 +829,12 @@
1647 method: !!python/unicode 'GET'
1648 uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1
1649 response:
1650- body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"",
1651- "start": 0, "total_size": 0}'}
1652+ body: {string: !!python/unicode '{"start": 0, "total_size": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\""}'}
1653 headers:
1654 content-length: ['90']
1655 content-type: [application/json; charset=utf-8]
1656- date: ['Wed, 15 Apr 2015 20:00:45 GMT']
1657- server: [WSGIServer/0.2 CPython/3.4.2]
1658+ date: ['Thu, 16 Apr 2015 01:51:50 GMT']
1659+ server: [WSGIServer/0.2 CPython/3.4.3]
1660 status: {code: 200, message: OK}
1661 - request:
1662 body: null
1663@@ -848,7 +848,7 @@
1664 body: {string: !!python/unicode ''}
1665 headers:
1666 content-length: ['0']
1667- date: ['Wed, 15 Apr 2015 20:00:46 GMT']
1668- server: [WSGIServer/0.2 CPython/3.4.2]
1669+ date: ['Thu, 16 Apr 2015 01:51:51 GMT']
1670+ server: [WSGIServer/0.2 CPython/3.4.3]
1671 status: {code: 204, message: No Content}
1672 version: 1
1673
1674=== modified file 'src/postorius/tests/fixtures/vcr_cassettes/list_members_page.yaml'
1675--- src/postorius/tests/fixtures/vcr_cassettes/list_members_page.yaml 2015-04-15 20:02:05 +0000
1676+++ src/postorius/tests/fixtures/vcr_cassettes/list_members_page.yaml 2015-04-16 01:57:12 +0000
1677@@ -8,357 +8,350 @@
1678 method: !!python/unicode 'GET'
1679 uri: http://localhost:9001/3.0/lists/foo@example.com
1680 response:
1681- body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id":
1682- "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"",
1683- "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com",
1684- "volume": 1, "display_name": "Foo", "mail_host": "example.com", "member_count":
1685- 0}'}
1686- headers:
1687- content-length: ['294']
1688- content-type: [application/json; charset=utf-8]
1689- date: ['Wed, 15 Apr 2015 20:00:41 GMT']
1690- server: [WSGIServer/0.2 CPython/3.4.2]
1691- status: {code: 200, message: OK}
1692-- request:
1693- body: null
1694- headers:
1695- accept-encoding: ['gzip, deflate']
1696- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
1697- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
1698- method: !!python/unicode 'GET'
1699- uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1
1700- response:
1701- body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"",
1702- "start": 0, "total_size": 0}'}
1703- headers:
1704- content-length: ['90']
1705- content-type: [application/json; charset=utf-8]
1706- date: ['Wed, 15 Apr 2015 20:00:41 GMT']
1707- server: [WSGIServer/0.2 CPython/3.4.2]
1708- status: {code: 200, message: OK}
1709-- request:
1710- body: null
1711- headers:
1712- accept-encoding: ['gzip, deflate']
1713- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
1714- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
1715- method: !!python/unicode 'GET'
1716- uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner
1717- response:
1718- body: {string: !!python/unicode '{"http_etag": "\"51d78cb00e18a60461749d1207f2707594ce1a6d\"",
1719- "entries": [{"delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/65666166344199916015948757016727609115",
1720- "email": "owner@example.com", "list_id": "foo.example.com", "user": "http://localhost:9001/3.0/users/117102017827318954078289964069449293796",
1721- "role": "owner", "http_etag": "\"432b0cb405562590d58f047540c7527fb868ab68\"",
1722- "address": "http://localhost:9001/3.0/addresses/owner@example.com", "member_id":
1723- 65666166344199916015948757016727609115}], "start": 0, "total_size": 1}'}
1724- headers:
1725- content-length: ['564']
1726- content-type: [application/json; charset=utf-8]
1727- date: ['Wed, 15 Apr 2015 20:00:41 GMT']
1728- server: [WSGIServer/0.2 CPython/3.4.2]
1729- status: {code: 200, message: OK}
1730-- request:
1731- body: null
1732- headers:
1733- accept-encoding: ['gzip, deflate']
1734- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
1735- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
1736- method: !!python/unicode 'GET'
1737- uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator
1738- response:
1739- body: {string: !!python/unicode '{"http_etag": "\"c59397427b076a99f54451fb8426c485f0197621\"",
1740- "entries": [{"delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/142734914141373676799912641898971185828",
1741- "email": "moderator@example.com", "list_id": "foo.example.com", "user": "http://localhost:9001/3.0/users/313429703557169445575348239981723434246",
1742- "role": "moderator", "http_etag": "\"fc87fe575147375a29f2e51b16d7cd778ff9b6d4\"",
1743- "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "member_id":
1744- 142734914141373676799912641898971185828}], "start": 0, "total_size": 1}'}
1745- headers:
1746- content-length: ['578']
1747- content-type: [application/json; charset=utf-8]
1748- date: ['Wed, 15 Apr 2015 20:00:41 GMT']
1749- server: [WSGIServer/0.2 CPython/3.4.2]
1750- status: {code: 200, message: OK}
1751-- request:
1752- body: null
1753- headers:
1754- accept-encoding: ['gzip, deflate']
1755- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
1756- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
1757- method: !!python/unicode 'GET'
1758- uri: http://localhost:9001/3.0/lists/foo@example.com
1759- response:
1760- body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id":
1761- "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"",
1762- "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com",
1763- "volume": 1, "display_name": "Foo", "mail_host": "example.com", "member_count":
1764- 0}'}
1765- headers:
1766- content-length: ['294']
1767- content-type: [application/json; charset=utf-8]
1768- date: ['Wed, 15 Apr 2015 20:00:41 GMT']
1769- server: [WSGIServer/0.2 CPython/3.4.2]
1770- status: {code: 200, message: OK}
1771-- request:
1772- body: null
1773- headers:
1774- accept-encoding: ['gzip, deflate']
1775- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
1776- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
1777- method: !!python/unicode 'GET'
1778- uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner
1779- response:
1780- body: {string: !!python/unicode '{"http_etag": "\"51d78cb00e18a60461749d1207f2707594ce1a6d\"",
1781- "entries": [{"delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/65666166344199916015948757016727609115",
1782- "email": "owner@example.com", "list_id": "foo.example.com", "user": "http://localhost:9001/3.0/users/117102017827318954078289964069449293796",
1783- "role": "owner", "http_etag": "\"432b0cb405562590d58f047540c7527fb868ab68\"",
1784- "address": "http://localhost:9001/3.0/addresses/owner@example.com", "member_id":
1785- 65666166344199916015948757016727609115}], "start": 0, "total_size": 1}'}
1786- headers:
1787- content-length: ['564']
1788- content-type: [application/json; charset=utf-8]
1789- date: ['Wed, 15 Apr 2015 20:00:41 GMT']
1790- server: [WSGIServer/0.2 CPython/3.4.2]
1791- status: {code: 200, message: OK}
1792-- request:
1793- body: null
1794- headers:
1795- accept-encoding: ['gzip, deflate']
1796- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
1797- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
1798- method: !!python/unicode 'GET'
1799- uri: http://localhost:9001/3.0/lists/foo@example.com
1800- response:
1801- body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id":
1802- "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"",
1803- "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com",
1804- "volume": 1, "display_name": "Foo", "mail_host": "example.com", "member_count":
1805- 0}'}
1806- headers:
1807- content-length: ['294']
1808- content-type: [application/json; charset=utf-8]
1809- date: ['Wed, 15 Apr 2015 20:00:42 GMT']
1810- server: [WSGIServer/0.2 CPython/3.4.2]
1811- status: {code: 200, message: OK}
1812-- request:
1813- body: null
1814- headers:
1815- accept-encoding: ['gzip, deflate']
1816- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
1817- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
1818- method: !!python/unicode 'GET'
1819- uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1
1820- response:
1821- body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"",
1822- "start": 0, "total_size": 0}'}
1823- headers:
1824- content-length: ['90']
1825- content-type: [application/json; charset=utf-8]
1826- date: ['Wed, 15 Apr 2015 20:00:42 GMT']
1827- server: [WSGIServer/0.2 CPython/3.4.2]
1828- status: {code: 200, message: OK}
1829-- request:
1830- body: null
1831- headers:
1832- accept-encoding: ['gzip, deflate']
1833- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
1834- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
1835- method: !!python/unicode 'GET'
1836- uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner
1837- response:
1838- body: {string: !!python/unicode '{"http_etag": "\"0cb4d7b03c6e1af1a9ea0488f225e1eaee21d06f\"",
1839- "entries": [{"delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/146478159952862640555572319802110037529",
1840- "email": "owner@example.com", "list_id": "foo.example.com", "user": "http://localhost:9001/3.0/users/117102017827318954078289964069449293796",
1841- "role": "owner", "http_etag": "\"85a930c254b3f42b5cf86c653442fea56835dcec\"",
1842- "address": "http://localhost:9001/3.0/addresses/owner@example.com", "member_id":
1843- 146478159952862640555572319802110037529}], "start": 0, "total_size": 1}'}
1844- headers:
1845- content-length: ['566']
1846- content-type: [application/json; charset=utf-8]
1847- date: ['Wed, 15 Apr 2015 20:00:42 GMT']
1848- server: [WSGIServer/0.2 CPython/3.4.2]
1849- status: {code: 200, message: OK}
1850-- request:
1851- body: null
1852- headers:
1853- accept-encoding: ['gzip, deflate']
1854- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
1855- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
1856- method: !!python/unicode 'GET'
1857- uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator
1858- response:
1859- body: {string: !!python/unicode '{"http_etag": "\"544213e84cea14e55fa5e4b5d7283acb2a0fa1f8\"",
1860- "entries": [{"delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/300345844286885579524106623093994765189",
1861- "email": "moderator@example.com", "list_id": "foo.example.com", "user": "http://localhost:9001/3.0/users/313429703557169445575348239981723434246",
1862- "role": "moderator", "http_etag": "\"a0565c2e2754fb1c2bd5cef276c64d818485f1a9\"",
1863- "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "member_id":
1864- 300345844286885579524106623093994765189}], "start": 0, "total_size": 1}'}
1865- headers:
1866- content-length: ['578']
1867- content-type: [application/json; charset=utf-8]
1868- date: ['Wed, 15 Apr 2015 20:00:42 GMT']
1869- server: [WSGIServer/0.2 CPython/3.4.2]
1870- status: {code: 200, message: OK}
1871-- request:
1872- body: null
1873- headers:
1874- accept-encoding: ['gzip, deflate']
1875- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
1876- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
1877- method: !!python/unicode 'GET'
1878- uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner
1879- response:
1880- body: {string: !!python/unicode '{"http_etag": "\"0cb4d7b03c6e1af1a9ea0488f225e1eaee21d06f\"",
1881- "entries": [{"delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/146478159952862640555572319802110037529",
1882- "email": "owner@example.com", "list_id": "foo.example.com", "user": "http://localhost:9001/3.0/users/117102017827318954078289964069449293796",
1883- "role": "owner", "http_etag": "\"85a930c254b3f42b5cf86c653442fea56835dcec\"",
1884- "address": "http://localhost:9001/3.0/addresses/owner@example.com", "member_id":
1885- 146478159952862640555572319802110037529}], "start": 0, "total_size": 1}'}
1886- headers:
1887- content-length: ['566']
1888- content-type: [application/json; charset=utf-8]
1889- date: ['Wed, 15 Apr 2015 20:00:42 GMT']
1890- server: [WSGIServer/0.2 CPython/3.4.2]
1891- status: {code: 200, message: OK}
1892-- request:
1893- body: null
1894- headers:
1895- accept-encoding: ['gzip, deflate']
1896- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
1897- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
1898- method: !!python/unicode 'GET'
1899- uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator
1900- response:
1901- body: {string: !!python/unicode '{"http_etag": "\"544213e84cea14e55fa5e4b5d7283acb2a0fa1f8\"",
1902- "entries": [{"delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/300345844286885579524106623093994765189",
1903- "email": "moderator@example.com", "list_id": "foo.example.com", "user": "http://localhost:9001/3.0/users/313429703557169445575348239981723434246",
1904- "role": "moderator", "http_etag": "\"a0565c2e2754fb1c2bd5cef276c64d818485f1a9\"",
1905- "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "member_id":
1906- 300345844286885579524106623093994765189}], "start": 0, "total_size": 1}'}
1907- headers:
1908- content-length: ['578']
1909- content-type: [application/json; charset=utf-8]
1910- date: ['Wed, 15 Apr 2015 20:00:42 GMT']
1911- server: [WSGIServer/0.2 CPython/3.4.2]
1912- status: {code: 200, message: OK}
1913-- request:
1914- body: null
1915- headers:
1916- accept-encoding: ['gzip, deflate']
1917- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
1918- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
1919- method: !!python/unicode 'GET'
1920- uri: http://localhost:9001/3.0/lists/foo@example.com
1921- response:
1922- body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id":
1923- "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"",
1924- "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com",
1925- "volume": 1, "display_name": "Foo", "mail_host": "example.com", "member_count":
1926- 0}'}
1927- headers:
1928- content-length: ['294']
1929- content-type: [application/json; charset=utf-8]
1930- date: ['Wed, 15 Apr 2015 20:00:43 GMT']
1931- server: [WSGIServer/0.2 CPython/3.4.2]
1932- status: {code: 200, message: OK}
1933-- request:
1934- body: null
1935- headers:
1936- accept-encoding: ['gzip, deflate']
1937- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
1938- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
1939- method: !!python/unicode 'GET'
1940- uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1
1941- response:
1942- body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"",
1943- "start": 0, "total_size": 0}'}
1944- headers:
1945- content-length: ['90']
1946- content-type: [application/json; charset=utf-8]
1947- date: ['Wed, 15 Apr 2015 20:00:43 GMT']
1948- server: [WSGIServer/0.2 CPython/3.4.2]
1949- status: {code: 200, message: OK}
1950-- request:
1951- body: null
1952- headers:
1953- accept-encoding: ['gzip, deflate']
1954- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
1955- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
1956- method: !!python/unicode 'GET'
1957- uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner
1958- response:
1959- body: {string: !!python/unicode '{"http_etag": "\"bae7530d8cf648d529d508d3c46be38477c8d3ad\"",
1960- "entries": [{"delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/333804327984641227543735764681736417610",
1961- "email": "owner@example.com", "list_id": "foo.example.com", "user": "http://localhost:9001/3.0/users/117102017827318954078289964069449293796",
1962- "role": "owner", "http_etag": "\"ec0178c2e8d6fb0133a819a2a064d3da9ba36c61\"",
1963- "address": "http://localhost:9001/3.0/addresses/owner@example.com", "member_id":
1964- 333804327984641227543735764681736417610}], "start": 0, "total_size": 1}'}
1965- headers:
1966- content-length: ['566']
1967- content-type: [application/json; charset=utf-8]
1968- date: ['Wed, 15 Apr 2015 20:00:43 GMT']
1969- server: [WSGIServer/0.2 CPython/3.4.2]
1970- status: {code: 200, message: OK}
1971-- request:
1972- body: null
1973- headers:
1974- accept-encoding: ['gzip, deflate']
1975- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
1976- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
1977- method: !!python/unicode 'GET'
1978- uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator
1979- response:
1980- body: {string: !!python/unicode '{"http_etag": "\"6dcb366c09097b00549bde66eeb52f0ce1a4ec22\"",
1981- "entries": [{"delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/193153637813201025305722262172721795279",
1982- "email": "moderator@example.com", "list_id": "foo.example.com", "user": "http://localhost:9001/3.0/users/313429703557169445575348239981723434246",
1983- "role": "moderator", "http_etag": "\"28617c5a79940598bbb23f35c3f5e46ec6eb6d46\"",
1984- "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "member_id":
1985- 193153637813201025305722262172721795279}], "start": 0, "total_size": 1}'}
1986- headers:
1987- content-length: ['578']
1988- content-type: [application/json; charset=utf-8]
1989- date: ['Wed, 15 Apr 2015 20:00:43 GMT']
1990- server: [WSGIServer/0.2 CPython/3.4.2]
1991- status: {code: 200, message: OK}
1992-- request:
1993- body: null
1994- headers:
1995- accept-encoding: ['gzip, deflate']
1996- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
1997- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
1998- method: !!python/unicode 'GET'
1999- uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner
2000- response:
2001- body: {string: !!python/unicode '{"http_etag": "\"bae7530d8cf648d529d508d3c46be38477c8d3ad\"",
2002- "entries": [{"delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/333804327984641227543735764681736417610",
2003- "email": "owner@example.com", "list_id": "foo.example.com", "user": "http://localhost:9001/3.0/users/117102017827318954078289964069449293796",
2004- "role": "owner", "http_etag": "\"ec0178c2e8d6fb0133a819a2a064d3da9ba36c61\"",
2005- "address": "http://localhost:9001/3.0/addresses/owner@example.com", "member_id":
2006- 333804327984641227543735764681736417610}], "start": 0, "total_size": 1}'}
2007- headers:
2008- content-length: ['566']
2009- content-type: [application/json; charset=utf-8]
2010- date: ['Wed, 15 Apr 2015 20:00:43 GMT']
2011- server: [WSGIServer/0.2 CPython/3.4.2]
2012- status: {code: 200, message: OK}
2013-- request:
2014- body: null
2015- headers:
2016- accept-encoding: ['gzip, deflate']
2017- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2018- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2019- method: !!python/unicode 'GET'
2020- uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator
2021- response:
2022- body: {string: !!python/unicode '{"http_etag": "\"6dcb366c09097b00549bde66eeb52f0ce1a4ec22\"",
2023- "entries": [{"delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/193153637813201025305722262172721795279",
2024- "email": "moderator@example.com", "list_id": "foo.example.com", "user": "http://localhost:9001/3.0/users/313429703557169445575348239981723434246",
2025- "role": "moderator", "http_etag": "\"28617c5a79940598bbb23f35c3f5e46ec6eb6d46\"",
2026- "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "member_id":
2027- 193153637813201025305722262172721795279}], "start": 0, "total_size": 1}'}
2028- headers:
2029- content-length: ['578']
2030- content-type: [application/json; charset=utf-8]
2031- date: ['Wed, 15 Apr 2015 20:00:43 GMT']
2032- server: [WSGIServer/0.2 CPython/3.4.2]
2033+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/lists/foo.example.com",
2034+ "mail_host": "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"",
2035+ "member_count": 0, "volume": 1, "list_id": "foo.example.com", "fqdn_listname":
2036+ "foo@example.com", "list_name": "foo", "display_name": "Foo"}'}
2037+ headers:
2038+ content-length: ['294']
2039+ content-type: [application/json; charset=utf-8]
2040+ date: ['Thu, 16 Apr 2015 01:51:42 GMT']
2041+ server: [WSGIServer/0.2 CPython/3.4.3]
2042+ status: {code: 200, message: OK}
2043+- request:
2044+ body: null
2045+ headers:
2046+ accept-encoding: ['gzip, deflate']
2047+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2048+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2049+ method: !!python/unicode 'GET'
2050+ uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1
2051+ response:
2052+ body: {string: !!python/unicode '{"start": 0, "total_size": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\""}'}
2053+ headers:
2054+ content-length: ['90']
2055+ content-type: [application/json; charset=utf-8]
2056+ date: ['Thu, 16 Apr 2015 01:51:42 GMT']
2057+ server: [WSGIServer/0.2 CPython/3.4.3]
2058+ status: {code: 200, message: OK}
2059+- request:
2060+ body: null
2061+ headers:
2062+ accept-encoding: ['gzip, deflate']
2063+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2064+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2065+ method: !!python/unicode 'GET'
2066+ uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner
2067+ response:
2068+ body: {string: !!python/unicode '{"entries": [{"address": "http://localhost:9001/3.0/addresses/owner@example.com",
2069+ "self_link": "http://localhost:9001/3.0/members/49703415119608657405006949338764946132",
2070+ "delivery_mode": "regular", "member_id": 49703415119608657405006949338764946132,
2071+ "http_etag": "\"d8df259f04c0ef4d14ce94291f5345f34f85bd4b\"", "list_id": "foo.example.com",
2072+ "email": "owner@example.com", "role": "owner", "user": "http://localhost:9001/3.0/users/32073274118090512529642080937930188494"}],
2073+ "start": 0, "total_size": 1, "http_etag": "\"be1e66a868ac5d5b8cac9725ad99d17480067b4f\""}'}
2074+ headers:
2075+ content-length: ['563']
2076+ content-type: [application/json; charset=utf-8]
2077+ date: ['Thu, 16 Apr 2015 01:51:42 GMT']
2078+ server: [WSGIServer/0.2 CPython/3.4.3]
2079+ status: {code: 200, message: OK}
2080+- request:
2081+ body: null
2082+ headers:
2083+ accept-encoding: ['gzip, deflate']
2084+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2085+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2086+ method: !!python/unicode 'GET'
2087+ uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator
2088+ response:
2089+ body: {string: !!python/unicode '{"entries": [{"address": "http://localhost:9001/3.0/addresses/moderator@example.com",
2090+ "self_link": "http://localhost:9001/3.0/members/176338353524403307921967334086606250307",
2091+ "delivery_mode": "regular", "member_id": 176338353524403307921967334086606250307,
2092+ "http_etag": "\"8bcd75f1a2f206f0accaece4ba9342015ac46c9b\"", "list_id": "foo.example.com",
2093+ "email": "moderator@example.com", "role": "moderator", "user": "http://localhost:9001/3.0/users/90106461521943811535974436365876875695"}],
2094+ "start": 0, "total_size": 1, "http_etag": "\"719dd955f88df6efab4f2c364371709e47d93535\""}'}
2095+ headers:
2096+ content-length: ['577']
2097+ content-type: [application/json; charset=utf-8]
2098+ date: ['Thu, 16 Apr 2015 01:51:42 GMT']
2099+ server: [WSGIServer/0.2 CPython/3.4.3]
2100+ status: {code: 200, message: OK}
2101+- request:
2102+ body: null
2103+ headers:
2104+ accept-encoding: ['gzip, deflate']
2105+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2106+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2107+ method: !!python/unicode 'GET'
2108+ uri: http://localhost:9001/3.0/lists/foo@example.com
2109+ response:
2110+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/lists/foo.example.com",
2111+ "mail_host": "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"",
2112+ "member_count": 0, "volume": 1, "list_id": "foo.example.com", "fqdn_listname":
2113+ "foo@example.com", "list_name": "foo", "display_name": "Foo"}'}
2114+ headers:
2115+ content-length: ['294']
2116+ content-type: [application/json; charset=utf-8]
2117+ date: ['Thu, 16 Apr 2015 01:51:42 GMT']
2118+ server: [WSGIServer/0.2 CPython/3.4.3]
2119+ status: {code: 200, message: OK}
2120+- request:
2121+ body: null
2122+ headers:
2123+ accept-encoding: ['gzip, deflate']
2124+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2125+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2126+ method: !!python/unicode 'GET'
2127+ uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner
2128+ response:
2129+ body: {string: !!python/unicode '{"entries": [{"address": "http://localhost:9001/3.0/addresses/owner@example.com",
2130+ "self_link": "http://localhost:9001/3.0/members/49703415119608657405006949338764946132",
2131+ "delivery_mode": "regular", "member_id": 49703415119608657405006949338764946132,
2132+ "http_etag": "\"d8df259f04c0ef4d14ce94291f5345f34f85bd4b\"", "list_id": "foo.example.com",
2133+ "email": "owner@example.com", "role": "owner", "user": "http://localhost:9001/3.0/users/32073274118090512529642080937930188494"}],
2134+ "start": 0, "total_size": 1, "http_etag": "\"be1e66a868ac5d5b8cac9725ad99d17480067b4f\""}'}
2135+ headers:
2136+ content-length: ['563']
2137+ content-type: [application/json; charset=utf-8]
2138+ date: ['Thu, 16 Apr 2015 01:51:42 GMT']
2139+ server: [WSGIServer/0.2 CPython/3.4.3]
2140+ status: {code: 200, message: OK}
2141+- request:
2142+ body: null
2143+ headers:
2144+ accept-encoding: ['gzip, deflate']
2145+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2146+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2147+ method: !!python/unicode 'GET'
2148+ uri: http://localhost:9001/3.0/lists/foo@example.com
2149+ response:
2150+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/lists/foo.example.com",
2151+ "mail_host": "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"",
2152+ "member_count": 0, "volume": 1, "list_id": "foo.example.com", "fqdn_listname":
2153+ "foo@example.com", "list_name": "foo", "display_name": "Foo"}'}
2154+ headers:
2155+ content-length: ['294']
2156+ content-type: [application/json; charset=utf-8]
2157+ date: ['Thu, 16 Apr 2015 01:51:43 GMT']
2158+ server: [WSGIServer/0.2 CPython/3.4.3]
2159+ status: {code: 200, message: OK}
2160+- request:
2161+ body: null
2162+ headers:
2163+ accept-encoding: ['gzip, deflate']
2164+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2165+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2166+ method: !!python/unicode 'GET'
2167+ uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1
2168+ response:
2169+ body: {string: !!python/unicode '{"start": 0, "total_size": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\""}'}
2170+ headers:
2171+ content-length: ['90']
2172+ content-type: [application/json; charset=utf-8]
2173+ date: ['Thu, 16 Apr 2015 01:51:43 GMT']
2174+ server: [WSGIServer/0.2 CPython/3.4.3]
2175+ status: {code: 200, message: OK}
2176+- request:
2177+ body: null
2178+ headers:
2179+ accept-encoding: ['gzip, deflate']
2180+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2181+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2182+ method: !!python/unicode 'GET'
2183+ uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner
2184+ response:
2185+ body: {string: !!python/unicode '{"entries": [{"address": "http://localhost:9001/3.0/addresses/owner@example.com",
2186+ "self_link": "http://localhost:9001/3.0/members/39491346581138772579472526760344587128",
2187+ "delivery_mode": "regular", "member_id": 39491346581138772579472526760344587128,
2188+ "http_etag": "\"461885d13779ffda780806529aaeab9b6837783a\"", "list_id": "foo.example.com",
2189+ "email": "owner@example.com", "role": "owner", "user": "http://localhost:9001/3.0/users/32073274118090512529642080937930188494"}],
2190+ "start": 0, "total_size": 1, "http_etag": "\"3003d30e33047c6434b26ec7fc6f65209c7d522a\""}'}
2191+ headers:
2192+ content-length: ['563']
2193+ content-type: [application/json; charset=utf-8]
2194+ date: ['Thu, 16 Apr 2015 01:51:43 GMT']
2195+ server: [WSGIServer/0.2 CPython/3.4.3]
2196+ status: {code: 200, message: OK}
2197+- request:
2198+ body: null
2199+ headers:
2200+ accept-encoding: ['gzip, deflate']
2201+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2202+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2203+ method: !!python/unicode 'GET'
2204+ uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator
2205+ response:
2206+ body: {string: !!python/unicode '{"entries": [{"address": "http://localhost:9001/3.0/addresses/moderator@example.com",
2207+ "self_link": "http://localhost:9001/3.0/members/85863942895915153574925138426542754591",
2208+ "delivery_mode": "regular", "member_id": 85863942895915153574925138426542754591,
2209+ "http_etag": "\"1460d0a9a97ca4d5701f67a85c5c72e091546777\"", "list_id": "foo.example.com",
2210+ "email": "moderator@example.com", "role": "moderator", "user": "http://localhost:9001/3.0/users/90106461521943811535974436365876875695"}],
2211+ "start": 0, "total_size": 1, "http_etag": "\"f1529476a5c2295d854d0fb5cb3610c235c4878f\""}'}
2212+ headers:
2213+ content-length: ['575']
2214+ content-type: [application/json; charset=utf-8]
2215+ date: ['Thu, 16 Apr 2015 01:51:43 GMT']
2216+ server: [WSGIServer/0.2 CPython/3.4.3]
2217+ status: {code: 200, message: OK}
2218+- request:
2219+ body: null
2220+ headers:
2221+ accept-encoding: ['gzip, deflate']
2222+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2223+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2224+ method: !!python/unicode 'GET'
2225+ uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner
2226+ response:
2227+ body: {string: !!python/unicode '{"entries": [{"address": "http://localhost:9001/3.0/addresses/owner@example.com",
2228+ "self_link": "http://localhost:9001/3.0/members/39491346581138772579472526760344587128",
2229+ "delivery_mode": "regular", "member_id": 39491346581138772579472526760344587128,
2230+ "http_etag": "\"461885d13779ffda780806529aaeab9b6837783a\"", "list_id": "foo.example.com",
2231+ "email": "owner@example.com", "role": "owner", "user": "http://localhost:9001/3.0/users/32073274118090512529642080937930188494"}],
2232+ "start": 0, "total_size": 1, "http_etag": "\"3003d30e33047c6434b26ec7fc6f65209c7d522a\""}'}
2233+ headers:
2234+ content-length: ['563']
2235+ content-type: [application/json; charset=utf-8]
2236+ date: ['Thu, 16 Apr 2015 01:51:44 GMT']
2237+ server: [WSGIServer/0.2 CPython/3.4.3]
2238+ status: {code: 200, message: OK}
2239+- request:
2240+ body: null
2241+ headers:
2242+ accept-encoding: ['gzip, deflate']
2243+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2244+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2245+ method: !!python/unicode 'GET'
2246+ uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator
2247+ response:
2248+ body: {string: !!python/unicode '{"entries": [{"address": "http://localhost:9001/3.0/addresses/moderator@example.com",
2249+ "self_link": "http://localhost:9001/3.0/members/85863942895915153574925138426542754591",
2250+ "delivery_mode": "regular", "member_id": 85863942895915153574925138426542754591,
2251+ "http_etag": "\"1460d0a9a97ca4d5701f67a85c5c72e091546777\"", "list_id": "foo.example.com",
2252+ "email": "moderator@example.com", "role": "moderator", "user": "http://localhost:9001/3.0/users/90106461521943811535974436365876875695"}],
2253+ "start": 0, "total_size": 1, "http_etag": "\"f1529476a5c2295d854d0fb5cb3610c235c4878f\""}'}
2254+ headers:
2255+ content-length: ['575']
2256+ content-type: [application/json; charset=utf-8]
2257+ date: ['Thu, 16 Apr 2015 01:51:44 GMT']
2258+ server: [WSGIServer/0.2 CPython/3.4.3]
2259+ status: {code: 200, message: OK}
2260+- request:
2261+ body: null
2262+ headers:
2263+ accept-encoding: ['gzip, deflate']
2264+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2265+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2266+ method: !!python/unicode 'GET'
2267+ uri: http://localhost:9001/3.0/lists/foo@example.com
2268+ response:
2269+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/lists/foo.example.com",
2270+ "mail_host": "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"",
2271+ "member_count": 0, "volume": 1, "list_id": "foo.example.com", "fqdn_listname":
2272+ "foo@example.com", "list_name": "foo", "display_name": "Foo"}'}
2273+ headers:
2274+ content-length: ['294']
2275+ content-type: [application/json; charset=utf-8]
2276+ date: ['Thu, 16 Apr 2015 01:51:45 GMT']
2277+ server: [WSGIServer/0.2 CPython/3.4.3]
2278+ status: {code: 200, message: OK}
2279+- request:
2280+ body: null
2281+ headers:
2282+ accept-encoding: ['gzip, deflate']
2283+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2284+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2285+ method: !!python/unicode 'GET'
2286+ uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1
2287+ response:
2288+ body: {string: !!python/unicode '{"start": 0, "total_size": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\""}'}
2289+ headers:
2290+ content-length: ['90']
2291+ content-type: [application/json; charset=utf-8]
2292+ date: ['Thu, 16 Apr 2015 01:51:45 GMT']
2293+ server: [WSGIServer/0.2 CPython/3.4.3]
2294+ status: {code: 200, message: OK}
2295+- request:
2296+ body: null
2297+ headers:
2298+ accept-encoding: ['gzip, deflate']
2299+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2300+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2301+ method: !!python/unicode 'GET'
2302+ uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner
2303+ response:
2304+ body: {string: !!python/unicode '{"entries": [{"address": "http://localhost:9001/3.0/addresses/owner@example.com",
2305+ "self_link": "http://localhost:9001/3.0/members/315501226205554974129995407579709836908",
2306+ "delivery_mode": "regular", "member_id": 315501226205554974129995407579709836908,
2307+ "http_etag": "\"e4b8c26f6fea789999fd4ca9d9d0e9801fa0e422\"", "list_id": "foo.example.com",
2308+ "email": "owner@example.com", "role": "owner", "user": "http://localhost:9001/3.0/users/32073274118090512529642080937930188494"}],
2309+ "start": 0, "total_size": 1, "http_etag": "\"e54d8349a6d1ed46af51df9632d45765bfcaa87a\""}'}
2310+ headers:
2311+ content-length: ['565']
2312+ content-type: [application/json; charset=utf-8]
2313+ date: ['Thu, 16 Apr 2015 01:51:45 GMT']
2314+ server: [WSGIServer/0.2 CPython/3.4.3]
2315+ status: {code: 200, message: OK}
2316+- request:
2317+ body: null
2318+ headers:
2319+ accept-encoding: ['gzip, deflate']
2320+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2321+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2322+ method: !!python/unicode 'GET'
2323+ uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator
2324+ response:
2325+ body: {string: !!python/unicode '{"entries": [{"address": "http://localhost:9001/3.0/addresses/moderator@example.com",
2326+ "self_link": "http://localhost:9001/3.0/members/93458890021964076224043798768417088840",
2327+ "delivery_mode": "regular", "member_id": 93458890021964076224043798768417088840,
2328+ "http_etag": "\"a03316b6a72d82bfa9eba4968b3158d0b7f6b0a7\"", "list_id": "foo.example.com",
2329+ "email": "moderator@example.com", "role": "moderator", "user": "http://localhost:9001/3.0/users/90106461521943811535974436365876875695"}],
2330+ "start": 0, "total_size": 1, "http_etag": "\"8232198e0e56cd478c9441d348cb1e7ca886ce20\""}'}
2331+ headers:
2332+ content-length: ['575']
2333+ content-type: [application/json; charset=utf-8]
2334+ date: ['Thu, 16 Apr 2015 01:51:45 GMT']
2335+ server: [WSGIServer/0.2 CPython/3.4.3]
2336+ status: {code: 200, message: OK}
2337+- request:
2338+ body: null
2339+ headers:
2340+ accept-encoding: ['gzip, deflate']
2341+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2342+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2343+ method: !!python/unicode 'GET'
2344+ uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner
2345+ response:
2346+ body: {string: !!python/unicode '{"entries": [{"address": "http://localhost:9001/3.0/addresses/owner@example.com",
2347+ "self_link": "http://localhost:9001/3.0/members/315501226205554974129995407579709836908",
2348+ "delivery_mode": "regular", "member_id": 315501226205554974129995407579709836908,
2349+ "http_etag": "\"e4b8c26f6fea789999fd4ca9d9d0e9801fa0e422\"", "list_id": "foo.example.com",
2350+ "email": "owner@example.com", "role": "owner", "user": "http://localhost:9001/3.0/users/32073274118090512529642080937930188494"}],
2351+ "start": 0, "total_size": 1, "http_etag": "\"e54d8349a6d1ed46af51df9632d45765bfcaa87a\""}'}
2352+ headers:
2353+ content-length: ['565']
2354+ content-type: [application/json; charset=utf-8]
2355+ date: ['Thu, 16 Apr 2015 01:51:45 GMT']
2356+ server: [WSGIServer/0.2 CPython/3.4.3]
2357+ status: {code: 200, message: OK}
2358+- request:
2359+ body: null
2360+ headers:
2361+ accept-encoding: ['gzip, deflate']
2362+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2363+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2364+ method: !!python/unicode 'GET'
2365+ uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator
2366+ response:
2367+ body: {string: !!python/unicode '{"entries": [{"address": "http://localhost:9001/3.0/addresses/moderator@example.com",
2368+ "self_link": "http://localhost:9001/3.0/members/93458890021964076224043798768417088840",
2369+ "delivery_mode": "regular", "member_id": 93458890021964076224043798768417088840,
2370+ "http_etag": "\"a03316b6a72d82bfa9eba4968b3158d0b7f6b0a7\"", "list_id": "foo.example.com",
2371+ "email": "moderator@example.com", "role": "moderator", "user": "http://localhost:9001/3.0/users/90106461521943811535974436365876875695"}],
2372+ "start": 0, "total_size": 1, "http_etag": "\"8232198e0e56cd478c9441d348cb1e7ca886ce20\""}'}
2373+ headers:
2374+ content-length: ['575']
2375+ content-type: [application/json; charset=utf-8]
2376+ date: ['Thu, 16 Apr 2015 01:51:45 GMT']
2377+ server: [WSGIServer/0.2 CPython/3.4.3]
2378 status: {code: 200, message: OK}
2379 version: 1
2380
2381=== added file 'src/postorius/tests/fixtures/vcr_cassettes/test_change_subscription-2.yaml'
2382--- src/postorius/tests/fixtures/vcr_cassettes/test_change_subscription-2.yaml 1970-01-01 00:00:00 +0000
2383+++ src/postorius/tests/fixtures/vcr_cassettes/test_change_subscription-2.yaml 2015-04-16 01:57:12 +0000
2384@@ -0,0 +1,306 @@
2385+interactions:
2386+- request:
2387+ body: null
2388+ headers:
2389+ accept-encoding: ['gzip, deflate']
2390+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2391+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2392+ method: !!python/unicode 'GET'
2393+ uri: http://localhost:9001/3.0/lists/foo@example.com
2394+ response:
2395+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/lists/foo.example.com",
2396+ "mail_host": "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"",
2397+ "member_count": 0, "volume": 1, "list_id": "foo.example.com", "fqdn_listname":
2398+ "foo@example.com", "list_name": "foo", "display_name": "Foo"}'}
2399+ headers:
2400+ content-length: ['294']
2401+ content-type: [application/json; charset=utf-8]
2402+ date: ['Thu, 16 Apr 2015 01:51:59 GMT']
2403+ server: [WSGIServer/0.2 CPython/3.4.3]
2404+ status: {code: 200, message: OK}
2405+- request:
2406+ body: display_name=None&subscriber=test%40example.com&list_id=foo.example.com
2407+ headers:
2408+ accept-encoding: ['gzip, deflate']
2409+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2410+ !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
2411+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2412+ method: !!python/unicode 'POST'
2413+ uri: http://localhost:9001/3.0/members
2414+ response:
2415+ body: {string: !!python/unicode ''}
2416+ headers:
2417+ content-length: ['0']
2418+ date: ['Thu, 16 Apr 2015 01:52:00 GMT']
2419+ location: ['http://localhost:9001/3.0/members/292661485662487167236708361513717994638']
2420+ server: [WSGIServer/0.2 CPython/3.4.3]
2421+ status: {code: 201, message: Created}
2422+- request:
2423+ body: null
2424+ headers:
2425+ accept-encoding: ['gzip, deflate']
2426+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2427+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2428+ method: !!python/unicode 'GET'
2429+ uri: http://localhost:9001/3.0/users/test@example.com
2430+ response:
2431+ body: {string: !!python/unicode '{"created_on": "2015-04-16T01:51:59.719103",
2432+ "http_etag": "\"c95650f2de0330f6cf9de728346f9b77a5c237db\"", "self_link":
2433+ "http://localhost:9001/3.0/users/200807337994779122959965861947509964532",
2434+ "user_id": 200807337994779122959965861947509964532, "is_server_owner": false,
2435+ "display_name": "None"}'}
2436+ headers:
2437+ content-length: ['295']
2438+ content-type: [application/json; charset=utf-8]
2439+ date: ['Thu, 16 Apr 2015 01:52:00 GMT']
2440+ server: [WSGIServer/0.2 CPython/3.4.3]
2441+ status: {code: 200, message: OK}
2442+- request:
2443+ body: email=anotheremail%40example.com
2444+ headers:
2445+ accept-encoding: ['gzip, deflate']
2446+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2447+ !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
2448+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2449+ method: !!python/unicode 'POST'
2450+ uri: http://localhost:9001/3.0/users/200807337994779122959965861947509964532/addresses
2451+ response:
2452+ body: {string: !!python/unicode ''}
2453+ headers:
2454+ content-length: ['0']
2455+ date: ['Thu, 16 Apr 2015 01:52:00 GMT']
2456+ location: ['http://localhost:9001/3.0/addresses/anotheremail@example.com']
2457+ server: [WSGIServer/0.2 CPython/3.4.3]
2458+ status: {code: 201, message: Created}
2459+- request:
2460+ body: null
2461+ headers:
2462+ accept-encoding: ['gzip, deflate']
2463+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2464+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2465+ method: !!python/unicode 'GET'
2466+ uri: http://localhost:9001/3.0/lists/foo@example.com
2467+ response:
2468+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/lists/foo.example.com",
2469+ "mail_host": "example.com", "http_etag": "\"98cc998d4a30293ec17da639bce10617912a6e1e\"",
2470+ "member_count": 1, "volume": 1, "list_id": "foo.example.com", "fqdn_listname":
2471+ "foo@example.com", "list_name": "foo", "display_name": "Foo"}'}
2472+ headers:
2473+ content-length: ['294']
2474+ content-type: [application/json; charset=utf-8]
2475+ date: ['Thu, 16 Apr 2015 01:52:00 GMT']
2476+ server: [WSGIServer/0.2 CPython/3.4.3]
2477+ status: {code: 200, message: OK}
2478+- request:
2479+ body: null
2480+ headers:
2481+ accept-encoding: ['gzip, deflate']
2482+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2483+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2484+ method: !!python/unicode 'GET'
2485+ uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner
2486+ response:
2487+ body: {string: !!python/unicode '{"start": 0, "total_size": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\""}'}
2488+ headers:
2489+ content-length: ['90']
2490+ content-type: [application/json; charset=utf-8]
2491+ date: ['Thu, 16 Apr 2015 01:52:00 GMT']
2492+ server: [WSGIServer/0.2 CPython/3.4.3]
2493+ status: {code: 200, message: OK}
2494+- request:
2495+ body: null
2496+ headers:
2497+ accept-encoding: ['gzip, deflate']
2498+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2499+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2500+ method: !!python/unicode 'GET'
2501+ uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator
2502+ response:
2503+ body: {string: !!python/unicode '{"start": 0, "total_size": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\""}'}
2504+ headers:
2505+ content-length: ['90']
2506+ content-type: [application/json; charset=utf-8]
2507+ date: ['Thu, 16 Apr 2015 01:52:00 GMT']
2508+ server: [WSGIServer/0.2 CPython/3.4.3]
2509+ status: {code: 200, message: OK}
2510+- request:
2511+ body: null
2512+ headers:
2513+ accept-encoding: ['gzip, deflate']
2514+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2515+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2516+ method: !!python/unicode 'GET'
2517+ uri: http://localhost:9001/3.0/users/test@example.com
2518+ response:
2519+ body: {string: !!python/unicode '{"created_on": "2015-04-16T01:51:59.719103",
2520+ "http_etag": "\"c95650f2de0330f6cf9de728346f9b77a5c237db\"", "self_link":
2521+ "http://localhost:9001/3.0/users/200807337994779122959965861947509964532",
2522+ "user_id": 200807337994779122959965861947509964532, "is_server_owner": false,
2523+ "display_name": "None"}'}
2524+ headers:
2525+ content-length: ['295']
2526+ content-type: [application/json; charset=utf-8]
2527+ date: ['Thu, 16 Apr 2015 01:52:00 GMT']
2528+ server: [WSGIServer/0.2 CPython/3.4.3]
2529+ status: {code: 200, message: OK}
2530+- request:
2531+ body: null
2532+ headers:
2533+ accept-encoding: ['gzip, deflate']
2534+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2535+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2536+ method: !!python/unicode 'GET'
2537+ uri: http://localhost:9001/3.0/users/200807337994779122959965861947509964532
2538+ response:
2539+ body: {string: !!python/unicode '{"created_on": "2015-04-16T01:51:59.719103",
2540+ "http_etag": "\"c95650f2de0330f6cf9de728346f9b77a5c237db\"", "self_link":
2541+ "http://localhost:9001/3.0/users/200807337994779122959965861947509964532",
2542+ "user_id": 200807337994779122959965861947509964532, "is_server_owner": false,
2543+ "display_name": "None"}'}
2544+ headers:
2545+ content-length: ['295']
2546+ content-type: [application/json; charset=utf-8]
2547+ date: ['Thu, 16 Apr 2015 01:52:00 GMT']
2548+ server: [WSGIServer/0.2 CPython/3.4.3]
2549+ status: {code: 200, message: OK}
2550+- request:
2551+ body: null
2552+ headers:
2553+ accept-encoding: ['gzip, deflate']
2554+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2555+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2556+ method: !!python/unicode 'GET'
2557+ uri: http://localhost:9001/3.0/users/200807337994779122959965861947509964532/addresses
2558+ response:
2559+ body: {string: !!python/unicode '{"entries": [{"self_link": "http://localhost:9001/3.0/addresses/anotheremail@example.com",
2560+ "original_email": "anotheremail@example.com", "user": "http://localhost:9001/3.0/users/200807337994779122959965861947509964532",
2561+ "email": "anotheremail@example.com", "http_etag": "\"f3a618b33455eb155ee3e909e03a8762a62d9de1\"",
2562+ "registered_on": "2015-04-16T01:52:00.060368"}, {"http_etag": "\"916ee6b22dcbd7c9c41a4f856f301a0892865d71\"",
2563+ "self_link": "http://localhost:9001/3.0/addresses/test@example.com", "original_email":
2564+ "test@example.com", "user": "http://localhost:9001/3.0/users/200807337994779122959965861947509964532",
2565+ "email": "test@example.com", "display_name": "None", "registered_on": "2015-04-16T01:51:59.718792"}],
2566+ "start": 0, "total_size": 2, "http_etag": "\"e10fa846e596f02041bd766ff149747e7db8d9d8\""}'}
2567+ headers:
2568+ content-length: ['809']
2569+ content-type: [application/json; charset=utf-8]
2570+ date: ['Thu, 16 Apr 2015 01:52:00 GMT']
2571+ server: [WSGIServer/0.2 CPython/3.4.3]
2572+ status: {code: 200, message: OK}
2573+- request:
2574+ body: null
2575+ headers:
2576+ accept-encoding: ['gzip, deflate']
2577+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2578+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2579+ method: !!python/unicode 'GET'
2580+ uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member
2581+ response:
2582+ body: {string: !!python/unicode '{"entries": [{"address": "http://localhost:9001/3.0/addresses/test@example.com",
2583+ "self_link": "http://localhost:9001/3.0/members/292661485662487167236708361513717994638",
2584+ "delivery_mode": "regular", "member_id": 292661485662487167236708361513717994638,
2585+ "http_etag": "\"e3c5a083d0618534eb8ccb27b69e2a6ba2b3d57a\"", "list_id": "foo.example.com",
2586+ "email": "test@example.com", "role": "member", "user": "http://localhost:9001/3.0/users/200807337994779122959965861947509964532"}],
2587+ "start": 0, "total_size": 1, "http_etag": "\"e9620b7836ff895ebe370af27500e465069b649f\""}'}
2588+ headers:
2589+ content-length: ['565']
2590+ content-type: [application/json; charset=utf-8]
2591+ date: ['Thu, 16 Apr 2015 01:52:00 GMT']
2592+ server: [WSGIServer/0.2 CPython/3.4.3]
2593+ status: {code: 200, message: OK}
2594+- request:
2595+ body: null
2596+ headers:
2597+ accept-encoding: ['gzip, deflate']
2598+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2599+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2600+ method: !!python/unicode 'GET'
2601+ uri: http://localhost:9001/3.0/members/292661485662487167236708361513717994638
2602+ response:
2603+ body: {string: !!python/unicode '{"address": "http://localhost:9001/3.0/addresses/test@example.com",
2604+ "self_link": "http://localhost:9001/3.0/members/292661485662487167236708361513717994638",
2605+ "delivery_mode": "regular", "member_id": 292661485662487167236708361513717994638,
2606+ "http_etag": "\"e3c5a083d0618534eb8ccb27b69e2a6ba2b3d57a\"", "list_id": "foo.example.com",
2607+ "email": "test@example.com", "role": "member", "user": "http://localhost:9001/3.0/users/200807337994779122959965861947509964532"}'}
2608+ headers:
2609+ content-length: ['460']
2610+ content-type: [application/json; charset=utf-8]
2611+ date: ['Thu, 16 Apr 2015 01:52:00 GMT']
2612+ server: [WSGIServer/0.2 CPython/3.4.3]
2613+ status: {code: 200, message: OK}
2614+- request:
2615+ body: null
2616+ headers:
2617+ accept-encoding: ['gzip, deflate']
2618+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2619+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2620+ method: !!python/unicode 'GET'
2621+ uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member
2622+ response:
2623+ body: {string: !!python/unicode '{"entries": [{"address": "http://localhost:9001/3.0/addresses/test@example.com",
2624+ "self_link": "http://localhost:9001/3.0/members/292661485662487167236708361513717994638",
2625+ "delivery_mode": "regular", "member_id": 292661485662487167236708361513717994638,
2626+ "http_etag": "\"e3c5a083d0618534eb8ccb27b69e2a6ba2b3d57a\"", "list_id": "foo.example.com",
2627+ "email": "test@example.com", "role": "member", "user": "http://localhost:9001/3.0/users/200807337994779122959965861947509964532"}],
2628+ "start": 0, "total_size": 1, "http_etag": "\"e9620b7836ff895ebe370af27500e465069b649f\""}'}
2629+ headers:
2630+ content-length: ['565']
2631+ content-type: [application/json; charset=utf-8]
2632+ date: ['Thu, 16 Apr 2015 01:52:00 GMT']
2633+ server: [WSGIServer/0.2 CPython/3.4.3]
2634+ status: {code: 200, message: OK}
2635+- request:
2636+ body: null
2637+ headers:
2638+ accept-encoding: ['gzip, deflate']
2639+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2640+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2641+ method: !!python/unicode 'GET'
2642+ uri: http://localhost:9001/3.0/members/292661485662487167236708361513717994638
2643+ response:
2644+ body: {string: !!python/unicode '{"address": "http://localhost:9001/3.0/addresses/test@example.com",
2645+ "self_link": "http://localhost:9001/3.0/members/292661485662487167236708361513717994638",
2646+ "delivery_mode": "regular", "member_id": 292661485662487167236708361513717994638,
2647+ "http_etag": "\"e3c5a083d0618534eb8ccb27b69e2a6ba2b3d57a\"", "list_id": "foo.example.com",
2648+ "email": "test@example.com", "role": "member", "user": "http://localhost:9001/3.0/users/200807337994779122959965861947509964532"}'}
2649+ headers:
2650+ content-length: ['460']
2651+ content-type: [application/json; charset=utf-8]
2652+ date: ['Thu, 16 Apr 2015 01:52:00 GMT']
2653+ server: [WSGIServer/0.2 CPython/3.4.3]
2654+ status: {code: 200, message: OK}
2655+- request:
2656+ body: null
2657+ headers:
2658+ accept-encoding: ['gzip, deflate']
2659+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2660+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2661+ method: !!python/unicode 'GET'
2662+ uri: http://localhost:9001/3.0/lists/foo@example.com/config
2663+ response:
2664+ body: {string: !!python/unicode '{"reply_to_address": "", "reply_goes_to_list":
2665+ "no_munging", "autoresponse_grace_period": "90d", "scheme": "http", "leave_address":
2666+ "foo-leave@example.com", "posting_address": "foo@example.com", "autoresponse_request_text":
2667+ "", "autoresponse_owner_text": "", "list_name": "foo", "display_name": "Foo",
2668+ "convert_html_to_plaintext": false, "archive_policy": "public", "no_reply_address":
2669+ "noreply@example.com", "autoresponse_postings_text": "", "http_etag": "\"4cf221d27f7b0b2c69f117a3a2b7d09142c25af8\"",
2670+ "allow_list_posts": true, "posting_pipeline": "default-posting-pipeline",
2671+ "volume": 1, "autorespond_postings": "none", "admin_notify_mchanges": false,
2672+ "default_member_action": "defer", "default_nonmember_action": "hold", "created_at":
2673+ "2015-04-16T01:51:59.303504", "subject_prefix": "[Foo] ", "include_rfc2369_headers":
2674+ true, "post_id": 1, "advertised": true, "join_address": "foo-join@example.com",
2675+ "anonymous_list": false, "last_post_at": null, "owner_address": "foo-owner@example.com",
2676+ "fqdn_listname": "foo@example.com", "digest_last_sent_at": null, "collapse_alternatives":
2677+ true, "welcome_message_uri": "mailman:///welcome.txt", "first_strip_reply_to":
2678+ false, "admin_immed_notify": true, "filter_content": false, "autorespond_requests":
2679+ "none", "mail_host": "example.com", "digest_size_threshold": 30.0, "send_welcome_message":
2680+ true, "acceptable_aliases": [], "next_digest_number": 1, "description": "",
2681+ "request_address": "foo-request@example.com", "autorespond_owner": "none",
2682+ "administrivia": true, "bounces_address": "foo-bounces@example.com", "web_host":
2683+ "example.com"}'}
2684+ headers:
2685+ content-length: ['1583']
2686+ content-type: [application/json; charset=utf-8]
2687+ date: ['Thu, 16 Apr 2015 01:52:00 GMT']
2688+ server: [WSGIServer/0.2 CPython/3.4.3]
2689+ status: {code: 200, message: OK}
2690+version: 1
2691
2692=== added file 'src/postorius/tests/fixtures/vcr_cassettes/test_change_subscription.yaml'
2693--- src/postorius/tests/fixtures/vcr_cassettes/test_change_subscription.yaml 1970-01-01 00:00:00 +0000
2694+++ src/postorius/tests/fixtures/vcr_cassettes/test_change_subscription.yaml 2015-04-16 01:57:12 +0000
2695@@ -0,0 +1,225 @@
2696+interactions:
2697+- request:
2698+ body: null
2699+ headers:
2700+ accept-encoding: ['gzip, deflate']
2701+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2702+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2703+ method: !!python/unicode 'GET'
2704+ uri: http://localhost:9001/3.0/lists/foo@example.com
2705+ response:
2706+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/lists/foo.example.com",
2707+ "mail_host": "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"",
2708+ "member_count": 0, "volume": 1, "list_id": "foo.example.com", "fqdn_listname":
2709+ "foo@example.com", "list_name": "foo", "display_name": "Foo"}'}
2710+ headers:
2711+ content-length: ['294']
2712+ content-type: [application/json; charset=utf-8]
2713+ date: ['Thu, 16 Apr 2015 01:51:54 GMT']
2714+ server: [WSGIServer/0.2 CPython/3.4.3]
2715+ status: {code: 200, message: OK}
2716+- request:
2717+ body: display_name=None&subscriber=test%40example.com&list_id=foo.example.com
2718+ headers:
2719+ accept-encoding: ['gzip, deflate']
2720+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2721+ !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
2722+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2723+ method: !!python/unicode 'POST'
2724+ uri: http://localhost:9001/3.0/members
2725+ response:
2726+ body: {string: !!python/unicode ''}
2727+ headers:
2728+ content-length: ['0']
2729+ date: ['Thu, 16 Apr 2015 01:51:54 GMT']
2730+ location: ['http://localhost:9001/3.0/members/48995319033263914563051212487737699716']
2731+ server: [WSGIServer/0.2 CPython/3.4.3]
2732+ status: {code: 201, message: Created}
2733+- request:
2734+ body: null
2735+ headers:
2736+ accept-encoding: ['gzip, deflate']
2737+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2738+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2739+ method: !!python/unicode 'GET'
2740+ uri: http://localhost:9001/3.0/lists/foo@example.com
2741+ response:
2742+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/lists/foo.example.com",
2743+ "mail_host": "example.com", "http_etag": "\"98cc998d4a30293ec17da639bce10617912a6e1e\"",
2744+ "member_count": 1, "volume": 1, "list_id": "foo.example.com", "fqdn_listname":
2745+ "foo@example.com", "list_name": "foo", "display_name": "Foo"}'}
2746+ headers:
2747+ content-length: ['294']
2748+ content-type: [application/json; charset=utf-8]
2749+ date: ['Thu, 16 Apr 2015 01:51:54 GMT']
2750+ server: [WSGIServer/0.2 CPython/3.4.3]
2751+ status: {code: 200, message: OK}
2752+- request:
2753+ body: null
2754+ headers:
2755+ accept-encoding: ['gzip, deflate']
2756+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2757+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2758+ method: !!python/unicode 'GET'
2759+ uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner
2760+ response:
2761+ body: {string: !!python/unicode '{"start": 0, "total_size": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\""}'}
2762+ headers:
2763+ content-length: ['90']
2764+ content-type: [application/json; charset=utf-8]
2765+ date: ['Thu, 16 Apr 2015 01:51:54 GMT']
2766+ server: [WSGIServer/0.2 CPython/3.4.3]
2767+ status: {code: 200, message: OK}
2768+- request:
2769+ body: null
2770+ headers:
2771+ accept-encoding: ['gzip, deflate']
2772+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2773+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2774+ method: !!python/unicode 'GET'
2775+ uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator
2776+ response:
2777+ body: {string: !!python/unicode '{"start": 0, "total_size": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\""}'}
2778+ headers:
2779+ content-length: ['90']
2780+ content-type: [application/json; charset=utf-8]
2781+ date: ['Thu, 16 Apr 2015 01:51:54 GMT']
2782+ server: [WSGIServer/0.2 CPython/3.4.3]
2783+ status: {code: 200, message: OK}
2784+- request:
2785+ body: null
2786+ headers:
2787+ accept-encoding: ['gzip, deflate']
2788+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2789+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2790+ method: !!python/unicode 'GET'
2791+ uri: http://localhost:9001/3.0/users/test@example.com
2792+ response:
2793+ body: {string: !!python/unicode '{"created_on": "2015-04-16T01:51:54.144558",
2794+ "http_etag": "\"050213864009b308d82299b1c2f0051e4cfbf8c0\"", "self_link":
2795+ "http://localhost:9001/3.0/users/170517939181090383652243314759949233961",
2796+ "user_id": 170517939181090383652243314759949233961, "is_server_owner": false,
2797+ "display_name": "None"}'}
2798+ headers:
2799+ content-length: ['295']
2800+ content-type: [application/json; charset=utf-8]
2801+ date: ['Thu, 16 Apr 2015 01:51:54 GMT']
2802+ server: [WSGIServer/0.2 CPython/3.4.3]
2803+ status: {code: 200, message: OK}
2804+- request:
2805+ body: null
2806+ headers:
2807+ accept-encoding: ['gzip, deflate']
2808+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2809+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2810+ method: !!python/unicode 'GET'
2811+ uri: http://localhost:9001/3.0/users/170517939181090383652243314759949233961
2812+ response:
2813+ body: {string: !!python/unicode '{"created_on": "2015-04-16T01:51:54.144558",
2814+ "http_etag": "\"050213864009b308d82299b1c2f0051e4cfbf8c0\"", "self_link":
2815+ "http://localhost:9001/3.0/users/170517939181090383652243314759949233961",
2816+ "user_id": 170517939181090383652243314759949233961, "is_server_owner": false,
2817+ "display_name": "None"}'}
2818+ headers:
2819+ content-length: ['295']
2820+ content-type: [application/json; charset=utf-8]
2821+ date: ['Thu, 16 Apr 2015 01:51:54 GMT']
2822+ server: [WSGIServer/0.2 CPython/3.4.3]
2823+ status: {code: 200, message: OK}
2824+- request:
2825+ body: null
2826+ headers:
2827+ accept-encoding: ['gzip, deflate']
2828+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2829+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2830+ method: !!python/unicode 'GET'
2831+ uri: http://localhost:9001/3.0/users/170517939181090383652243314759949233961/addresses
2832+ response:
2833+ body: {string: !!python/unicode '{"entries": [{"http_etag": "\"17ae70481699cb3acbab82ff36a8ada654fae79f\"",
2834+ "self_link": "http://localhost:9001/3.0/addresses/test@example.com", "original_email":
2835+ "test@example.com", "user": "http://localhost:9001/3.0/users/170517939181090383652243314759949233961",
2836+ "email": "test@example.com", "display_name": "None", "registered_on": "2015-04-16T01:51:54.144256"}],
2837+ "start": 0, "total_size": 1, "http_etag": "\"f60b65ccd03582358a5ef7d0218394db6cb8a095\""}'}
2838+ headers:
2839+ content-length: ['456']
2840+ content-type: [application/json; charset=utf-8]
2841+ date: ['Thu, 16 Apr 2015 01:51:54 GMT']
2842+ server: [WSGIServer/0.2 CPython/3.4.3]
2843+ status: {code: 200, message: OK}
2844+- request:
2845+ body: null
2846+ headers:
2847+ accept-encoding: ['gzip, deflate']
2848+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2849+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2850+ method: !!python/unicode 'GET'
2851+ uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member
2852+ response:
2853+ body: {string: !!python/unicode '{"entries": [{"address": "http://localhost:9001/3.0/addresses/test@example.com",
2854+ "self_link": "http://localhost:9001/3.0/members/48995319033263914563051212487737699716",
2855+ "delivery_mode": "regular", "member_id": 48995319033263914563051212487737699716,
2856+ "http_etag": "\"e9a5c18d1a73dbdc7582bff4998f45ed4819ccca\"", "list_id": "foo.example.com",
2857+ "email": "test@example.com", "role": "member", "user": "http://localhost:9001/3.0/users/170517939181090383652243314759949233961"}],
2858+ "start": 0, "total_size": 1, "http_etag": "\"93646c8e0e0bdf4883ca5a31220c00bbbc2ce663\""}'}
2859+ headers:
2860+ content-length: ['563']
2861+ content-type: [application/json; charset=utf-8]
2862+ date: ['Thu, 16 Apr 2015 01:51:54 GMT']
2863+ server: [WSGIServer/0.2 CPython/3.4.3]
2864+ status: {code: 200, message: OK}
2865+- request:
2866+ body: null
2867+ headers:
2868+ accept-encoding: ['gzip, deflate']
2869+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2870+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2871+ method: !!python/unicode 'GET'
2872+ uri: http://localhost:9001/3.0/members/48995319033263914563051212487737699716
2873+ response:
2874+ body: {string: !!python/unicode '{"address": "http://localhost:9001/3.0/addresses/test@example.com",
2875+ "self_link": "http://localhost:9001/3.0/members/48995319033263914563051212487737699716",
2876+ "delivery_mode": "regular", "member_id": 48995319033263914563051212487737699716,
2877+ "http_etag": "\"e9a5c18d1a73dbdc7582bff4998f45ed4819ccca\"", "list_id": "foo.example.com",
2878+ "email": "test@example.com", "role": "member", "user": "http://localhost:9001/3.0/users/170517939181090383652243314759949233961"}'}
2879+ headers:
2880+ content-length: ['458']
2881+ content-type: [application/json; charset=utf-8]
2882+ date: ['Thu, 16 Apr 2015 01:51:54 GMT']
2883+ server: [WSGIServer/0.2 CPython/3.4.3]
2884+ status: {code: 200, message: OK}
2885+- request:
2886+ body: null
2887+ headers:
2888+ accept-encoding: ['gzip, deflate']
2889+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2890+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2891+ method: !!python/unicode 'GET'
2892+ uri: http://localhost:9001/3.0/lists/foo@example.com/config
2893+ response:
2894+ body: {string: !!python/unicode '{"reply_to_address": "", "reply_goes_to_list":
2895+ "no_munging", "autoresponse_grace_period": "90d", "scheme": "http", "leave_address":
2896+ "foo-leave@example.com", "posting_address": "foo@example.com", "autoresponse_request_text":
2897+ "", "autoresponse_owner_text": "", "list_name": "foo", "display_name": "Foo",
2898+ "convert_html_to_plaintext": false, "archive_policy": "public", "no_reply_address":
2899+ "noreply@example.com", "autoresponse_postings_text": "", "http_etag": "\"d758c5e60b1601e833e259cb45cb0d82bddd4a95\"",
2900+ "allow_list_posts": true, "posting_pipeline": "default-posting-pipeline",
2901+ "volume": 1, "autorespond_postings": "none", "admin_notify_mchanges": false,
2902+ "default_member_action": "defer", "default_nonmember_action": "hold", "created_at":
2903+ "2015-04-16T01:51:53.900526", "subject_prefix": "[Foo] ", "include_rfc2369_headers":
2904+ true, "post_id": 1, "advertised": true, "join_address": "foo-join@example.com",
2905+ "anonymous_list": false, "last_post_at": null, "owner_address": "foo-owner@example.com",
2906+ "fqdn_listname": "foo@example.com", "digest_last_sent_at": null, "collapse_alternatives":
2907+ true, "welcome_message_uri": "mailman:///welcome.txt", "first_strip_reply_to":
2908+ false, "admin_immed_notify": true, "filter_content": false, "autorespond_requests":
2909+ "none", "mail_host": "example.com", "digest_size_threshold": 30.0, "send_welcome_message":
2910+ true, "acceptable_aliases": [], "next_digest_number": 1, "description": "",
2911+ "request_address": "foo-request@example.com", "autorespond_owner": "none",
2912+ "administrivia": true, "bounces_address": "foo-bounces@example.com", "web_host":
2913+ "example.com"}'}
2914+ headers:
2915+ content-length: ['1583']
2916+ content-type: [application/json; charset=utf-8]
2917+ date: ['Thu, 16 Apr 2015 01:51:54 GMT']
2918+ server: [WSGIServer/0.2 CPython/3.4.3]
2919+ status: {code: 200, message: OK}
2920+version: 1
2921
2922=== modified file 'src/postorius/tests/fixtures/vcr_cassettes/test_list_archival_options.yaml'
2923--- src/postorius/tests/fixtures/vcr_cassettes/test_list_archival_options.yaml 2015-04-15 20:02:05 +0000
2924+++ src/postorius/tests/fixtures/vcr_cassettes/test_list_archival_options.yaml 2015-04-16 01:57:12 +0000
2925@@ -9,382 +9,401 @@
2926 method: !!python/unicode 'POST'
2927 uri: http://localhost:9001/3.0/domains
2928 response:
2929- body: {string: !!python/unicode ''}
2930- headers:
2931- content-length: ['0']
2932- date: ['Wed, 15 Apr 2015 20:00:38 GMT']
2933- location: ['http://localhost:9001/3.0/domains/example.com']
2934- server: [WSGIServer/0.2 CPython/3.4.2]
2935- status: {code: 201, message: Created}
2936-- request:
2937- body: null
2938- headers:
2939- accept-encoding: ['gzip, deflate']
2940- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2941- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2942- method: !!python/unicode 'GET'
2943- uri: http://localhost:9001/3.0/domains/example.com
2944- response:
2945- body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
2946- "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"",
2947- "mail_host": "example.com", "description": null, "url_host": "example.com"}'}
2948- headers:
2949- content-length: ['233']
2950- content-type: [application/json; charset=utf-8]
2951- date: ['Wed, 15 Apr 2015 20:00:38 GMT']
2952- server: [WSGIServer/0.2 CPython/3.4.2]
2953- status: {code: 200, message: OK}
2954-- request:
2955- body: fqdn_listname=test_list%40example.com
2956- headers:
2957- accept-encoding: ['gzip, deflate']
2958- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2959- !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
2960- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2961- method: !!python/unicode 'POST'
2962- uri: http://localhost:9001/3.0/lists
2963- response:
2964- body: {string: !!python/unicode ''}
2965- headers:
2966- content-length: ['0']
2967- date: ['Wed, 15 Apr 2015 20:00:38 GMT']
2968- location: ['http://localhost:9001/3.0/lists/test_list.example.com']
2969- server: [WSGIServer/0.2 CPython/3.4.2]
2970- status: {code: 201, message: Created}
2971-- request:
2972- body: null
2973- headers:
2974- accept-encoding: ['gzip, deflate']
2975- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2976- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2977- method: !!python/unicode 'GET'
2978- uri: http://localhost:9001/3.0/lists/test_list.example.com
2979- response:
2980- body: {string: !!python/unicode '{"fqdn_listname": "test_list@example.com", "list_id":
2981- "test_list.example.com", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"",
2982- "list_name": "test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com",
2983- "volume": 1, "display_name": "Test_list", "mail_host": "example.com", "member_count":
2984- 0}'}
2985- headers:
2986- content-length: ['324']
2987- content-type: [application/json; charset=utf-8]
2988- date: ['Wed, 15 Apr 2015 20:00:38 GMT']
2989- server: [WSGIServer/0.2 CPython/3.4.2]
2990- status: {code: 200, message: OK}
2991-- request:
2992- body: null
2993- headers:
2994- accept-encoding: ['gzip, deflate']
2995- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
2996- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
2997- method: !!python/unicode 'GET'
2998- uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers
2999- response:
3000- body: {string: !!python/unicode '{"http_etag": "\"dfd159ec866aff2f484eb6399b59057ba112d3e5\"",
3001- "prototype": false, "mail-archive": true, "mhonarc": true}'}
3002- headers:
3003- content-length: ['120']
3004- content-type: [application/json; charset=utf-8]
3005- date: ['Wed, 15 Apr 2015 20:00:38 GMT']
3006- server: [WSGIServer/0.2 CPython/3.4.2]
3007- status: {code: 200, message: OK}
3008-- request:
3009- body: null
3010- headers:
3011- accept-encoding: ['gzip, deflate']
3012- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3013- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3014- method: !!python/unicode 'GET'
3015- uri: http://localhost:9001/3.0/lists/test_list.example.com
3016- response:
3017- body: {string: !!python/unicode '{"fqdn_listname": "test_list@example.com", "list_id":
3018- "test_list.example.com", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"",
3019- "list_name": "test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com",
3020- "volume": 1, "display_name": "Test_list", "mail_host": "example.com", "member_count":
3021- 0}'}
3022- headers:
3023- content-length: ['324']
3024- content-type: [application/json; charset=utf-8]
3025- date: ['Wed, 15 Apr 2015 20:00:38 GMT']
3026- server: [WSGIServer/0.2 CPython/3.4.2]
3027- status: {code: 200, message: OK}
3028-- request:
3029- body: null
3030- headers:
3031- accept-encoding: ['gzip, deflate']
3032- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3033- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3034- method: !!python/unicode 'DELETE'
3035- uri: http://localhost:9001/3.0/lists/test_list@example.com
3036- response:
3037- body: {string: !!python/unicode ''}
3038- headers:
3039- content-length: ['0']
3040- date: ['Wed, 15 Apr 2015 20:00:38 GMT']
3041- server: [WSGIServer/0.2 CPython/3.4.2]
3042- status: {code: 204, message: No Content}
3043-- request:
3044- body: mail_host=example.com
3045- headers:
3046- accept-encoding: ['gzip, deflate']
3047- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3048- !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
3049- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3050- method: !!python/unicode 'POST'
3051- uri: http://localhost:9001/3.0/domains
3052- response:
3053- body: {string: !!python/unicode 'Duplicate email host: example.com'}
3054- headers:
3055- content-length: ['33']
3056- content-type: [application/json; charset=utf-8]
3057- date: ['Wed, 15 Apr 2015 20:00:38 GMT']
3058- server: [WSGIServer/0.2 CPython/3.4.2]
3059- status: {code: 400, message: Bad Request}
3060-- request:
3061- body: null
3062- headers:
3063- accept-encoding: ['gzip, deflate']
3064- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3065- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3066- method: !!python/unicode 'GET'
3067- uri: http://localhost:9001/3.0/domains/example.com
3068- response:
3069- body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
3070- "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"",
3071- "mail_host": "example.com", "description": null, "url_host": "example.com"}'}
3072- headers:
3073- content-length: ['233']
3074- content-type: [application/json; charset=utf-8]
3075- date: ['Wed, 15 Apr 2015 20:00:38 GMT']
3076- server: [WSGIServer/0.2 CPython/3.4.2]
3077- status: {code: 200, message: OK}
3078-- request:
3079- body: null
3080- headers:
3081- accept-encoding: ['gzip, deflate']
3082- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3083- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3084- method: !!python/unicode 'GET'
3085- uri: http://localhost:9001/3.0/domains/example.com
3086- response:
3087- body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
3088- "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"",
3089- "mail_host": "example.com", "description": null, "url_host": "example.com"}'}
3090- headers:
3091- content-length: ['233']
3092- content-type: [application/json; charset=utf-8]
3093- date: ['Wed, 15 Apr 2015 20:00:38 GMT']
3094- server: [WSGIServer/0.2 CPython/3.4.2]
3095- status: {code: 200, message: OK}
3096-- request:
3097- body: fqdn_listname=test_list%40example.com
3098- headers:
3099- accept-encoding: ['gzip, deflate']
3100- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3101- !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
3102- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3103- method: !!python/unicode 'POST'
3104- uri: http://localhost:9001/3.0/lists
3105- response:
3106- body: {string: !!python/unicode ''}
3107- headers:
3108- content-length: ['0']
3109- date: ['Wed, 15 Apr 2015 20:00:38 GMT']
3110- location: ['http://localhost:9001/3.0/lists/test_list.example.com']
3111- server: [WSGIServer/0.2 CPython/3.4.2]
3112- status: {code: 201, message: Created}
3113-- request:
3114- body: null
3115- headers:
3116- accept-encoding: ['gzip, deflate']
3117- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3118- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3119- method: !!python/unicode 'GET'
3120- uri: http://localhost:9001/3.0/lists/test_list.example.com
3121- response:
3122- body: {string: !!python/unicode '{"fqdn_listname": "test_list@example.com", "list_id":
3123- "test_list.example.com", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"",
3124- "list_name": "test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com",
3125- "volume": 1, "display_name": "Test_list", "mail_host": "example.com", "member_count":
3126- 0}'}
3127- headers:
3128- content-length: ['324']
3129- content-type: [application/json; charset=utf-8]
3130- date: ['Wed, 15 Apr 2015 20:00:38 GMT']
3131- server: [WSGIServer/0.2 CPython/3.4.2]
3132- status: {code: 200, message: OK}
3133-- request:
3134- body: null
3135- headers:
3136- accept-encoding: ['gzip, deflate']
3137- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3138- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3139- method: !!python/unicode 'GET'
3140- uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers
3141- response:
3142- body: {string: !!python/unicode '{"http_etag": "\"dfd159ec866aff2f484eb6399b59057ba112d3e5\"",
3143- "prototype": false, "mail-archive": true, "mhonarc": true}'}
3144- headers:
3145- content-length: ['120']
3146- content-type: [application/json; charset=utf-8]
3147- date: ['Wed, 15 Apr 2015 20:00:38 GMT']
3148- server: [WSGIServer/0.2 CPython/3.4.2]
3149- status: {code: 200, message: OK}
3150-- request:
3151- body: null
3152- headers:
3153- accept-encoding: ['gzip, deflate']
3154- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3155- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3156- method: !!python/unicode 'GET'
3157- uri: http://localhost:9001/3.0/lists/test_list.example.com
3158- response:
3159- body: {string: !!python/unicode '{"fqdn_listname": "test_list@example.com", "list_id":
3160- "test_list.example.com", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"",
3161- "list_name": "test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com",
3162- "volume": 1, "display_name": "Test_list", "mail_host": "example.com", "member_count":
3163- 0}'}
3164- headers:
3165- content-length: ['324']
3166- content-type: [application/json; charset=utf-8]
3167- date: ['Wed, 15 Apr 2015 20:00:38 GMT']
3168- server: [WSGIServer/0.2 CPython/3.4.2]
3169- status: {code: 200, message: OK}
3170-- request:
3171- body: null
3172- headers:
3173- accept-encoding: ['gzip, deflate']
3174- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3175- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3176- method: !!python/unicode 'DELETE'
3177- uri: http://localhost:9001/3.0/lists/test_list@example.com
3178- response:
3179- body: {string: !!python/unicode ''}
3180- headers:
3181- content-length: ['0']
3182- date: ['Wed, 15 Apr 2015 20:00:38 GMT']
3183- server: [WSGIServer/0.2 CPython/3.4.2]
3184- status: {code: 204, message: No Content}
3185-- request:
3186- body: mail_host=example.com
3187- headers:
3188- accept-encoding: ['gzip, deflate']
3189- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3190- !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
3191- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3192- method: !!python/unicode 'POST'
3193- uri: http://localhost:9001/3.0/domains
3194- response:
3195- body: {string: !!python/unicode 'Duplicate email host: example.com'}
3196- headers:
3197- content-length: ['33']
3198- content-type: [application/json; charset=utf-8]
3199- date: ['Wed, 15 Apr 2015 20:00:39 GMT']
3200- server: [WSGIServer/0.2 CPython/3.4.2]
3201- status: {code: 400, message: Bad Request}
3202-- request:
3203- body: null
3204- headers:
3205- accept-encoding: ['gzip, deflate']
3206- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3207- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3208- method: !!python/unicode 'GET'
3209- uri: http://localhost:9001/3.0/domains/example.com
3210- response:
3211- body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
3212- "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"",
3213- "mail_host": "example.com", "description": null, "url_host": "example.com"}'}
3214- headers:
3215- content-length: ['233']
3216- content-type: [application/json; charset=utf-8]
3217- date: ['Wed, 15 Apr 2015 20:00:39 GMT']
3218- server: [WSGIServer/0.2 CPython/3.4.2]
3219- status: {code: 200, message: OK}
3220-- request:
3221- body: null
3222- headers:
3223- accept-encoding: ['gzip, deflate']
3224- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3225- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3226- method: !!python/unicode 'GET'
3227- uri: http://localhost:9001/3.0/domains/example.com
3228- response:
3229- body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
3230- "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"",
3231- "mail_host": "example.com", "description": null, "url_host": "example.com"}'}
3232- headers:
3233- content-length: ['233']
3234- content-type: [application/json; charset=utf-8]
3235- date: ['Wed, 15 Apr 2015 20:00:39 GMT']
3236- server: [WSGIServer/0.2 CPython/3.4.2]
3237- status: {code: 200, message: OK}
3238-- request:
3239- body: fqdn_listname=test_list%40example.com
3240- headers:
3241- accept-encoding: ['gzip, deflate']
3242- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3243- !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
3244- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3245- method: !!python/unicode 'POST'
3246- uri: http://localhost:9001/3.0/lists
3247- response:
3248- body: {string: !!python/unicode ''}
3249- headers:
3250- content-length: ['0']
3251- date: ['Wed, 15 Apr 2015 20:00:39 GMT']
3252- location: ['http://localhost:9001/3.0/lists/test_list.example.com']
3253- server: [WSGIServer/0.2 CPython/3.4.2]
3254- status: {code: 201, message: Created}
3255-- request:
3256- body: null
3257- headers:
3258- accept-encoding: ['gzip, deflate']
3259- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3260- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3261- method: !!python/unicode 'GET'
3262- uri: http://localhost:9001/3.0/lists/test_list.example.com
3263- response:
3264- body: {string: !!python/unicode '{"fqdn_listname": "test_list@example.com", "list_id":
3265- "test_list.example.com", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"",
3266- "list_name": "test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com",
3267- "volume": 1, "display_name": "Test_list", "mail_host": "example.com", "member_count":
3268- 0}'}
3269- headers:
3270- content-length: ['324']
3271- content-type: [application/json; charset=utf-8]
3272- date: ['Wed, 15 Apr 2015 20:00:39 GMT']
3273- server: [WSGIServer/0.2 CPython/3.4.2]
3274- status: {code: 200, message: OK}
3275-- request:
3276- body: null
3277- headers:
3278- accept-encoding: ['gzip, deflate']
3279- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3280- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3281- method: !!python/unicode 'GET'
3282- uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers
3283- response:
3284- body: {string: !!python/unicode '{"http_etag": "\"dfd159ec866aff2f484eb6399b59057ba112d3e5\"",
3285- "prototype": false, "mail-archive": true, "mhonarc": true}'}
3286- headers:
3287- content-length: ['120']
3288- content-type: [application/json; charset=utf-8]
3289- date: ['Wed, 15 Apr 2015 20:00:39 GMT']
3290- server: [WSGIServer/0.2 CPython/3.4.2]
3291- status: {code: 200, message: OK}
3292-- request:
3293- body: null
3294- headers:
3295- accept-encoding: ['gzip, deflate']
3296- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3297- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3298- method: !!python/unicode 'DELETE'
3299- uri: http://localhost:9001/3.0/lists/test_list@example.com
3300- response:
3301- body: {string: !!python/unicode ''}
3302- headers:
3303- content-length: ['0']
3304- date: ['Wed, 15 Apr 2015 20:00:39 GMT']
3305- server: [WSGIServer/0.2 CPython/3.4.2]
3306+ body: {string: !!python/unicode 'Duplicate email host: example.com'}
3307+ headers:
3308+ content-length: ['33']
3309+ content-type: [application/json; charset=utf-8]
3310+ date: ['Thu, 16 Apr 2015 01:51:33 GMT']
3311+ server: [WSGIServer/0.2 CPython/3.4.3]
3312+ status: {code: 400, message: Bad Request}
3313+- request:
3314+ body: null
3315+ headers:
3316+ accept-encoding: ['gzip, deflate']
3317+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3318+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3319+ method: !!python/unicode 'GET'
3320+ uri: http://localhost:9001/3.0/domains/example.com
3321+ response:
3322+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
3323+ "base_url": "http://example.com", "mail_host": "example.com", "http_etag":
3324+ "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": null, "url_host":
3325+ "example.com"}'}
3326+ headers:
3327+ content-length: ['233']
3328+ content-type: [application/json; charset=utf-8]
3329+ date: ['Thu, 16 Apr 2015 01:51:33 GMT']
3330+ server: [WSGIServer/0.2 CPython/3.4.3]
3331+ status: {code: 200, message: OK}
3332+- request:
3333+ body: null
3334+ headers:
3335+ accept-encoding: ['gzip, deflate']
3336+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3337+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3338+ method: !!python/unicode 'GET'
3339+ uri: http://localhost:9001/3.0/domains/example.com
3340+ response:
3341+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
3342+ "base_url": "http://example.com", "mail_host": "example.com", "http_etag":
3343+ "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": null, "url_host":
3344+ "example.com"}'}
3345+ headers:
3346+ content-length: ['233']
3347+ content-type: [application/json; charset=utf-8]
3348+ date: ['Thu, 16 Apr 2015 01:51:34 GMT']
3349+ server: [WSGIServer/0.2 CPython/3.4.3]
3350+ status: {code: 200, message: OK}
3351+- request:
3352+ body: fqdn_listname=test_list%40example.com
3353+ headers:
3354+ accept-encoding: ['gzip, deflate']
3355+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3356+ !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
3357+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3358+ method: !!python/unicode 'POST'
3359+ uri: http://localhost:9001/3.0/lists
3360+ response:
3361+ body: {string: !!python/unicode ''}
3362+ headers:
3363+ content-length: ['0']
3364+ date: ['Thu, 16 Apr 2015 01:51:34 GMT']
3365+ location: ['http://localhost:9001/3.0/lists/test_list.example.com']
3366+ server: [WSGIServer/0.2 CPython/3.4.3]
3367+ status: {code: 201, message: Created}
3368+- request:
3369+ body: null
3370+ headers:
3371+ accept-encoding: ['gzip, deflate']
3372+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3373+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3374+ method: !!python/unicode 'GET'
3375+ uri: http://localhost:9001/3.0/lists/test_list.example.com
3376+ response:
3377+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/lists/test_list.example.com",
3378+ "mail_host": "example.com", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"",
3379+ "member_count": 0, "volume": 1, "list_id": "test_list.example.com", "fqdn_listname":
3380+ "test_list@example.com", "list_name": "test_list", "display_name": "Test_list"}'}
3381+ headers:
3382+ content-length: ['324']
3383+ content-type: [application/json; charset=utf-8]
3384+ date: ['Thu, 16 Apr 2015 01:51:34 GMT']
3385+ server: [WSGIServer/0.2 CPython/3.4.3]
3386+ status: {code: 200, message: OK}
3387+- request:
3388+ body: null
3389+ headers:
3390+ accept-encoding: ['gzip, deflate']
3391+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3392+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3393+ method: !!python/unicode 'GET'
3394+ uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers
3395+ response:
3396+ body: {string: !!python/unicode '{"mhonarc": false, "prototype": false, "http_etag":
3397+ "\"de68e13c430d856461d2b39a5b5d5286d91528bc\"", "mail-archive": true}'}
3398+ headers:
3399+ content-length: ['121']
3400+ content-type: [application/json; charset=utf-8]
3401+ date: ['Thu, 16 Apr 2015 01:51:34 GMT']
3402+ server: [WSGIServer/0.2 CPython/3.4.3]
3403+ status: {code: 200, message: OK}
3404+- request:
3405+ body: null
3406+ headers:
3407+ accept-encoding: ['gzip, deflate']
3408+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3409+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3410+ method: !!python/unicode 'GET'
3411+ uri: http://localhost:9001/3.0/lists/test_list.example.com
3412+ response:
3413+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/lists/test_list.example.com",
3414+ "mail_host": "example.com", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"",
3415+ "member_count": 0, "volume": 1, "list_id": "test_list.example.com", "fqdn_listname":
3416+ "test_list@example.com", "list_name": "test_list", "display_name": "Test_list"}'}
3417+ headers:
3418+ content-length: ['324']
3419+ content-type: [application/json; charset=utf-8]
3420+ date: ['Thu, 16 Apr 2015 01:51:34 GMT']
3421+ server: [WSGIServer/0.2 CPython/3.4.3]
3422+ status: {code: 200, message: OK}
3423+- request:
3424+ body: null
3425+ headers:
3426+ accept-encoding: ['gzip, deflate']
3427+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3428+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3429+ method: !!python/unicode 'DELETE'
3430+ uri: http://localhost:9001/3.0/lists/test_list@example.com
3431+ response:
3432+ body: {string: !!python/unicode ''}
3433+ headers:
3434+ content-length: ['0']
3435+ date: ['Thu, 16 Apr 2015 01:51:34 GMT']
3436+ server: [WSGIServer/0.2 CPython/3.4.3]
3437+ status: {code: 204, message: No Content}
3438+- request:
3439+ body: mail_host=example.com
3440+ headers:
3441+ accept-encoding: ['gzip, deflate']
3442+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3443+ !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
3444+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3445+ method: !!python/unicode 'POST'
3446+ uri: http://localhost:9001/3.0/domains
3447+ response:
3448+ body: {string: !!python/unicode 'Duplicate email host: example.com'}
3449+ headers:
3450+ content-length: ['33']
3451+ content-type: [application/json; charset=utf-8]
3452+ date: ['Thu, 16 Apr 2015 01:51:34 GMT']
3453+ server: [WSGIServer/0.2 CPython/3.4.3]
3454+ status: {code: 400, message: Bad Request}
3455+- request:
3456+ body: null
3457+ headers:
3458+ accept-encoding: ['gzip, deflate']
3459+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3460+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3461+ method: !!python/unicode 'GET'
3462+ uri: http://localhost:9001/3.0/domains/example.com
3463+ response:
3464+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
3465+ "base_url": "http://example.com", "mail_host": "example.com", "http_etag":
3466+ "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": null, "url_host":
3467+ "example.com"}'}
3468+ headers:
3469+ content-length: ['233']
3470+ content-type: [application/json; charset=utf-8]
3471+ date: ['Thu, 16 Apr 2015 01:51:34 GMT']
3472+ server: [WSGIServer/0.2 CPython/3.4.3]
3473+ status: {code: 200, message: OK}
3474+- request:
3475+ body: null
3476+ headers:
3477+ accept-encoding: ['gzip, deflate']
3478+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3479+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3480+ method: !!python/unicode 'GET'
3481+ uri: http://localhost:9001/3.0/domains/example.com
3482+ response:
3483+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
3484+ "base_url": "http://example.com", "mail_host": "example.com", "http_etag":
3485+ "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": null, "url_host":
3486+ "example.com"}'}
3487+ headers:
3488+ content-length: ['233']
3489+ content-type: [application/json; charset=utf-8]
3490+ date: ['Thu, 16 Apr 2015 01:51:34 GMT']
3491+ server: [WSGIServer/0.2 CPython/3.4.3]
3492+ status: {code: 200, message: OK}
3493+- request:
3494+ body: fqdn_listname=test_list%40example.com
3495+ headers:
3496+ accept-encoding: ['gzip, deflate']
3497+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3498+ !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
3499+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3500+ method: !!python/unicode 'POST'
3501+ uri: http://localhost:9001/3.0/lists
3502+ response:
3503+ body: {string: !!python/unicode ''}
3504+ headers:
3505+ content-length: ['0']
3506+ date: ['Thu, 16 Apr 2015 01:51:35 GMT']
3507+ location: ['http://localhost:9001/3.0/lists/test_list.example.com']
3508+ server: [WSGIServer/0.2 CPython/3.4.3]
3509+ status: {code: 201, message: Created}
3510+- request:
3511+ body: null
3512+ headers:
3513+ accept-encoding: ['gzip, deflate']
3514+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3515+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3516+ method: !!python/unicode 'GET'
3517+ uri: http://localhost:9001/3.0/lists/test_list.example.com
3518+ response:
3519+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/lists/test_list.example.com",
3520+ "mail_host": "example.com", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"",
3521+ "member_count": 0, "volume": 1, "list_id": "test_list.example.com", "fqdn_listname":
3522+ "test_list@example.com", "list_name": "test_list", "display_name": "Test_list"}'}
3523+ headers:
3524+ content-length: ['324']
3525+ content-type: [application/json; charset=utf-8]
3526+ date: ['Thu, 16 Apr 2015 01:51:35 GMT']
3527+ server: [WSGIServer/0.2 CPython/3.4.3]
3528+ status: {code: 200, message: OK}
3529+- request:
3530+ body: null
3531+ headers:
3532+ accept-encoding: ['gzip, deflate']
3533+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3534+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3535+ method: !!python/unicode 'GET'
3536+ uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers
3537+ response:
3538+ body: {string: !!python/unicode '{"mhonarc": false, "prototype": false, "http_etag":
3539+ "\"de68e13c430d856461d2b39a5b5d5286d91528bc\"", "mail-archive": true}'}
3540+ headers:
3541+ content-length: ['121']
3542+ content-type: [application/json; charset=utf-8]
3543+ date: ['Thu, 16 Apr 2015 01:51:35 GMT']
3544+ server: [WSGIServer/0.2 CPython/3.4.3]
3545+ status: {code: 200, message: OK}
3546+- request:
3547+ body: null
3548+ headers:
3549+ accept-encoding: ['gzip, deflate']
3550+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3551+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3552+ method: !!python/unicode 'GET'
3553+ uri: http://localhost:9001/3.0/lists/test_list.example.com
3554+ response:
3555+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/lists/test_list.example.com",
3556+ "mail_host": "example.com", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"",
3557+ "member_count": 0, "volume": 1, "list_id": "test_list.example.com", "fqdn_listname":
3558+ "test_list@example.com", "list_name": "test_list", "display_name": "Test_list"}'}
3559+ headers:
3560+ content-length: ['324']
3561+ content-type: [application/json; charset=utf-8]
3562+ date: ['Thu, 16 Apr 2015 01:51:35 GMT']
3563+ server: [WSGIServer/0.2 CPython/3.4.3]
3564+ status: {code: 200, message: OK}
3565+- request:
3566+ body: null
3567+ headers:
3568+ accept-encoding: ['gzip, deflate']
3569+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3570+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3571+ method: !!python/unicode 'DELETE'
3572+ uri: http://localhost:9001/3.0/lists/test_list@example.com
3573+ response:
3574+ body: {string: !!python/unicode ''}
3575+ headers:
3576+ content-length: ['0']
3577+ date: ['Thu, 16 Apr 2015 01:51:35 GMT']
3578+ server: [WSGIServer/0.2 CPython/3.4.3]
3579+ status: {code: 204, message: No Content}
3580+- request:
3581+ body: mail_host=example.com
3582+ headers:
3583+ accept-encoding: ['gzip, deflate']
3584+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3585+ !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
3586+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3587+ method: !!python/unicode 'POST'
3588+ uri: http://localhost:9001/3.0/domains
3589+ response:
3590+ body: {string: !!python/unicode 'Duplicate email host: example.com'}
3591+ headers:
3592+ content-length: ['33']
3593+ content-type: [application/json; charset=utf-8]
3594+ date: ['Thu, 16 Apr 2015 01:51:35 GMT']
3595+ server: [WSGIServer/0.2 CPython/3.4.3]
3596+ status: {code: 400, message: Bad Request}
3597+- request:
3598+ body: null
3599+ headers:
3600+ accept-encoding: ['gzip, deflate']
3601+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3602+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3603+ method: !!python/unicode 'GET'
3604+ uri: http://localhost:9001/3.0/domains/example.com
3605+ response:
3606+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
3607+ "base_url": "http://example.com", "mail_host": "example.com", "http_etag":
3608+ "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": null, "url_host":
3609+ "example.com"}'}
3610+ headers:
3611+ content-length: ['233']
3612+ content-type: [application/json; charset=utf-8]
3613+ date: ['Thu, 16 Apr 2015 01:51:35 GMT']
3614+ server: [WSGIServer/0.2 CPython/3.4.3]
3615+ status: {code: 200, message: OK}
3616+- request:
3617+ body: null
3618+ headers:
3619+ accept-encoding: ['gzip, deflate']
3620+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3621+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3622+ method: !!python/unicode 'GET'
3623+ uri: http://localhost:9001/3.0/domains/example.com
3624+ response:
3625+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
3626+ "base_url": "http://example.com", "mail_host": "example.com", "http_etag":
3627+ "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": null, "url_host":
3628+ "example.com"}'}
3629+ headers:
3630+ content-length: ['233']
3631+ content-type: [application/json; charset=utf-8]
3632+ date: ['Thu, 16 Apr 2015 01:51:36 GMT']
3633+ server: [WSGIServer/0.2 CPython/3.4.3]
3634+ status: {code: 200, message: OK}
3635+- request:
3636+ body: fqdn_listname=test_list%40example.com
3637+ headers:
3638+ accept-encoding: ['gzip, deflate']
3639+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3640+ !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
3641+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3642+ method: !!python/unicode 'POST'
3643+ uri: http://localhost:9001/3.0/lists
3644+ response:
3645+ body: {string: !!python/unicode ''}
3646+ headers:
3647+ content-length: ['0']
3648+ date: ['Thu, 16 Apr 2015 01:51:36 GMT']
3649+ location: ['http://localhost:9001/3.0/lists/test_list.example.com']
3650+ server: [WSGIServer/0.2 CPython/3.4.3]
3651+ status: {code: 201, message: Created}
3652+- request:
3653+ body: null
3654+ headers:
3655+ accept-encoding: ['gzip, deflate']
3656+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3657+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3658+ method: !!python/unicode 'GET'
3659+ uri: http://localhost:9001/3.0/lists/test_list.example.com
3660+ response:
3661+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/lists/test_list.example.com",
3662+ "mail_host": "example.com", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"",
3663+ "member_count": 0, "volume": 1, "list_id": "test_list.example.com", "fqdn_listname":
3664+ "test_list@example.com", "list_name": "test_list", "display_name": "Test_list"}'}
3665+ headers:
3666+ content-length: ['324']
3667+ content-type: [application/json; charset=utf-8]
3668+ date: ['Thu, 16 Apr 2015 01:51:36 GMT']
3669+ server: [WSGIServer/0.2 CPython/3.4.3]
3670+ status: {code: 200, message: OK}
3671+- request:
3672+ body: null
3673+ headers:
3674+ accept-encoding: ['gzip, deflate']
3675+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3676+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3677+ method: !!python/unicode 'GET'
3678+ uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers
3679+ response:
3680+ body: {string: !!python/unicode '{"mhonarc": false, "prototype": false, "http_etag":
3681+ "\"de68e13c430d856461d2b39a5b5d5286d91528bc\"", "mail-archive": true}'}
3682+ headers:
3683+ content-length: ['121']
3684+ content-type: [application/json; charset=utf-8]
3685+ date: ['Thu, 16 Apr 2015 01:51:36 GMT']
3686+ server: [WSGIServer/0.2 CPython/3.4.3]
3687+ status: {code: 200, message: OK}
3688+- request:
3689+ body: null
3690+ headers:
3691+ accept-encoding: ['gzip, deflate']
3692+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3693+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3694+ method: !!python/unicode 'DELETE'
3695+ uri: http://localhost:9001/3.0/lists/test_list@example.com
3696+ response:
3697+ body: {string: !!python/unicode ''}
3698+ headers:
3699+ content-length: ['0']
3700+ date: ['Thu, 16 Apr 2015 01:51:38 GMT']
3701+ server: [WSGIServer/0.2 CPython/3.4.3]
3702 status: {code: 204, message: No Content}
3703 version: 1
3704
3705=== modified file 'src/postorius/tests/fixtures/vcr_cassettes/test_list_archival_options_disable_archiver.yaml'
3706--- src/postorius/tests/fixtures/vcr_cassettes/test_list_archival_options_disable_archiver.yaml 2015-04-15 20:02:05 +0000
3707+++ src/postorius/tests/fixtures/vcr_cassettes/test_list_archival_options_disable_archiver.yaml 2015-04-16 01:57:12 +0000
3708@@ -8,98 +8,113 @@
3709 method: !!python/unicode 'GET'
3710 uri: http://localhost:9001/3.0/lists/test_list.example.com
3711 response:
3712- body: {string: !!python/unicode '{"fqdn_listname": "test_list@example.com", "list_id":
3713- "test_list.example.com", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"",
3714- "list_name": "test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com",
3715- "volume": 1, "display_name": "Test_list", "mail_host": "example.com", "member_count":
3716- 0}'}
3717+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/lists/test_list.example.com",
3718+ "mail_host": "example.com", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"",
3719+ "member_count": 0, "volume": 1, "list_id": "test_list.example.com", "fqdn_listname":
3720+ "test_list@example.com", "list_name": "test_list", "display_name": "Test_list"}'}
3721 headers:
3722 content-length: ['324']
3723 content-type: [application/json; charset=utf-8]
3724- date: ['Wed, 15 Apr 2015 20:00:39 GMT']
3725- server: [WSGIServer/0.2 CPython/3.4.2]
3726- status: {code: 200, message: OK}
3727-- request:
3728- body: null
3729- headers:
3730- accept-encoding: ['gzip, deflate']
3731- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3732- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3733- method: !!python/unicode 'GET'
3734- uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers
3735- response:
3736- body: {string: !!python/unicode '{"http_etag": "\"dfd159ec866aff2f484eb6399b59057ba112d3e5\"",
3737- "prototype": false, "mail-archive": true, "mhonarc": true}'}
3738- headers:
3739- content-length: ['120']
3740- content-type: [application/json; charset=utf-8]
3741- date: ['Wed, 15 Apr 2015 20:00:39 GMT']
3742- server: [WSGIServer/0.2 CPython/3.4.2]
3743- status: {code: 200, message: OK}
3744-- request:
3745- body: mhonarc=True&mail-archive=True&prototype=True
3746- headers:
3747- accept-encoding: ['gzip, deflate']
3748- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3749- !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
3750- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3751- method: !!python/unicode 'PUT'
3752- uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers
3753- response:
3754- body: {string: !!python/unicode ''}
3755- headers:
3756- content-length: ['0']
3757- date: ['Wed, 15 Apr 2015 20:00:39 GMT']
3758- server: [WSGIServer/0.2 CPython/3.4.2]
3759- status: {code: 204, message: No Content}
3760-- request:
3761- body: mhonarc=True&mail-archive=False&prototype=True
3762- headers:
3763- accept-encoding: ['gzip, deflate']
3764- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3765- !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
3766- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3767- method: !!python/unicode 'PUT'
3768- uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers
3769- response:
3770- body: {string: !!python/unicode ''}
3771- headers:
3772- content-length: ['0']
3773- date: ['Wed, 15 Apr 2015 20:00:39 GMT']
3774- server: [WSGIServer/0.2 CPython/3.4.2]
3775- status: {code: 204, message: No Content}
3776-- request:
3777- body: null
3778- headers:
3779- accept-encoding: ['gzip, deflate']
3780- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3781- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3782- method: !!python/unicode 'GET'
3783- uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers
3784- response:
3785- body: {string: !!python/unicode '{"http_etag": "\"95f97f6e3c57d856b8048a96844ddc64a972f96d\"",
3786- "prototype": false, "mail-archive": false, "mhonarc": true}'}
3787- headers:
3788- content-length: ['121']
3789- content-type: [application/json; charset=utf-8]
3790- date: ['Wed, 15 Apr 2015 20:00:39 GMT']
3791- server: [WSGIServer/0.2 CPython/3.4.2]
3792- status: {code: 200, message: OK}
3793-- request:
3794- body: null
3795- headers:
3796- accept-encoding: ['gzip, deflate']
3797- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3798- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3799- method: !!python/unicode 'GET'
3800- uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers
3801- response:
3802- body: {string: !!python/unicode '{"http_etag": "\"95f97f6e3c57d856b8048a96844ddc64a972f96d\"",
3803- "prototype": false, "mail-archive": false, "mhonarc": true}'}
3804- headers:
3805- content-length: ['121']
3806- content-type: [application/json; charset=utf-8]
3807- date: ['Wed, 15 Apr 2015 20:00:39 GMT']
3808- server: [WSGIServer/0.2 CPython/3.4.2]
3809+ date: ['Thu, 16 Apr 2015 01:51:36 GMT']
3810+ server: [WSGIServer/0.2 CPython/3.4.3]
3811+ status: {code: 200, message: OK}
3812+- request:
3813+ body: null
3814+ headers:
3815+ accept-encoding: ['gzip, deflate']
3816+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3817+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3818+ method: !!python/unicode 'GET'
3819+ uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers
3820+ response:
3821+ body: {string: !!python/unicode '{"mhonarc": false, "prototype": false, "http_etag":
3822+ "\"de68e13c430d856461d2b39a5b5d5286d91528bc\"", "mail-archive": true}'}
3823+ headers:
3824+ content-length: ['121']
3825+ content-type: [application/json; charset=utf-8]
3826+ date: ['Thu, 16 Apr 2015 01:51:36 GMT']
3827+ server: [WSGIServer/0.2 CPython/3.4.3]
3828+ status: {code: 200, message: OK}
3829+- request:
3830+ body: prototype=False&mail-archive=True&mhonarc=True
3831+ headers:
3832+ accept-encoding: ['gzip, deflate']
3833+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3834+ !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
3835+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3836+ method: !!python/unicode 'PUT'
3837+ uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers
3838+ response:
3839+ body: {string: !!python/unicode ''}
3840+ headers:
3841+ content-length: ['0']
3842+ date: ['Thu, 16 Apr 2015 01:51:36 GMT']
3843+ server: [WSGIServer/0.2 CPython/3.4.3]
3844+ status: {code: 204, message: No Content}
3845+- request:
3846+ body: prototype=True&mail-archive=True&mhonarc=True
3847+ headers:
3848+ accept-encoding: ['gzip, deflate']
3849+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3850+ !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
3851+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3852+ method: !!python/unicode 'PUT'
3853+ uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers
3854+ response:
3855+ body: {string: !!python/unicode ''}
3856+ headers:
3857+ content-length: ['0']
3858+ date: ['Thu, 16 Apr 2015 01:51:37 GMT']
3859+ server: [WSGIServer/0.2 CPython/3.4.3]
3860+ status: {code: 204, message: No Content}
3861+- request:
3862+ body: prototype=True&mail-archive=False&mhonarc=True
3863+ headers:
3864+ accept-encoding: ['gzip, deflate']
3865+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3866+ !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
3867+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3868+ method: !!python/unicode 'PUT'
3869+ uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers
3870+ response:
3871+ body: {string: !!python/unicode ''}
3872+ headers:
3873+ content-length: ['0']
3874+ date: ['Thu, 16 Apr 2015 01:51:37 GMT']
3875+ server: [WSGIServer/0.2 CPython/3.4.3]
3876+ status: {code: 204, message: No Content}
3877+- request:
3878+ body: null
3879+ headers:
3880+ accept-encoding: ['gzip, deflate']
3881+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3882+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3883+ method: !!python/unicode 'GET'
3884+ uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers
3885+ response:
3886+ body: {string: !!python/unicode '{"mhonarc": true, "prototype": false, "http_etag":
3887+ "\"95f97f6e3c57d856b8048a96844ddc64a972f96d\"", "mail-archive": false}'}
3888+ headers:
3889+ content-length: ['121']
3890+ content-type: [application/json; charset=utf-8]
3891+ date: ['Thu, 16 Apr 2015 01:51:37 GMT']
3892+ server: [WSGIServer/0.2 CPython/3.4.3]
3893+ status: {code: 200, message: OK}
3894+- request:
3895+ body: null
3896+ headers:
3897+ accept-encoding: ['gzip, deflate']
3898+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3899+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3900+ method: !!python/unicode 'GET'
3901+ uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers
3902+ response:
3903+ body: {string: !!python/unicode '{"mhonarc": true, "prototype": false, "http_etag":
3904+ "\"95f97f6e3c57d856b8048a96844ddc64a972f96d\"", "mail-archive": false}'}
3905+ headers:
3906+ content-length: ['121']
3907+ content-type: [application/json; charset=utf-8]
3908+ date: ['Thu, 16 Apr 2015 01:51:37 GMT']
3909+ server: [WSGIServer/0.2 CPython/3.4.3]
3910 status: {code: 200, message: OK}
3911 version: 1
3912
3913=== modified file 'src/postorius/tests/fixtures/vcr_cassettes/test_list_archival_options_enable_archiver.yaml'
3914--- src/postorius/tests/fixtures/vcr_cassettes/test_list_archival_options_enable_archiver.yaml 2015-04-15 20:02:05 +0000
3915+++ src/postorius/tests/fixtures/vcr_cassettes/test_list_archival_options_enable_archiver.yaml 2015-04-16 01:57:12 +0000
3916@@ -8,98 +8,97 @@
3917 method: !!python/unicode 'GET'
3918 uri: http://localhost:9001/3.0/lists/test_list.example.com
3919 response:
3920- body: {string: !!python/unicode '{"fqdn_listname": "test_list@example.com", "list_id":
3921- "test_list.example.com", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"",
3922- "list_name": "test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com",
3923- "volume": 1, "display_name": "Test_list", "mail_host": "example.com", "member_count":
3924- 0}'}
3925+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/lists/test_list.example.com",
3926+ "mail_host": "example.com", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"",
3927+ "member_count": 0, "volume": 1, "list_id": "test_list.example.com", "fqdn_listname":
3928+ "test_list@example.com", "list_name": "test_list", "display_name": "Test_list"}'}
3929 headers:
3930 content-length: ['324']
3931 content-type: [application/json; charset=utf-8]
3932- date: ['Wed, 15 Apr 2015 20:00:39 GMT']
3933- server: [WSGIServer/0.2 CPython/3.4.2]
3934- status: {code: 200, message: OK}
3935-- request:
3936- body: null
3937- headers:
3938- accept-encoding: ['gzip, deflate']
3939- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3940- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3941- method: !!python/unicode 'GET'
3942- uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers
3943- response:
3944- body: {string: !!python/unicode '{"http_etag": "\"95f97f6e3c57d856b8048a96844ddc64a972f96d\"",
3945- "prototype": false, "mail-archive": false, "mhonarc": true}'}
3946- headers:
3947- content-length: ['121']
3948- content-type: [application/json; charset=utf-8]
3949- date: ['Wed, 15 Apr 2015 20:00:39 GMT']
3950- server: [WSGIServer/0.2 CPython/3.4.2]
3951- status: {code: 200, message: OK}
3952-- request:
3953- body: mhonarc=True&mail-archive=True&prototype=False
3954- headers:
3955- accept-encoding: ['gzip, deflate']
3956- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3957- !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
3958- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3959- method: !!python/unicode 'PUT'
3960- uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers
3961- response:
3962- body: {string: !!python/unicode ''}
3963- headers:
3964- content-length: ['0']
3965- date: ['Wed, 15 Apr 2015 20:00:39 GMT']
3966- server: [WSGIServer/0.2 CPython/3.4.2]
3967- status: {code: 204, message: No Content}
3968-- request:
3969- body: mhonarc=False&mail-archive=True&prototype=False
3970- headers:
3971- accept-encoding: ['gzip, deflate']
3972- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3973- !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
3974- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3975- method: !!python/unicode 'PUT'
3976- uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers
3977- response:
3978- body: {string: !!python/unicode ''}
3979- headers:
3980- content-length: ['0']
3981- date: ['Wed, 15 Apr 2015 20:00:39 GMT']
3982- server: [WSGIServer/0.2 CPython/3.4.2]
3983- status: {code: 204, message: No Content}
3984-- request:
3985- body: null
3986- headers:
3987- accept-encoding: ['gzip, deflate']
3988- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
3989- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
3990- method: !!python/unicode 'GET'
3991- uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers
3992- response:
3993- body: {string: !!python/unicode '{"http_etag": "\"de68e13c430d856461d2b39a5b5d5286d91528bc\"",
3994- "prototype": false, "mail-archive": true, "mhonarc": false}'}
3995- headers:
3996- content-length: ['121']
3997- content-type: [application/json; charset=utf-8]
3998- date: ['Wed, 15 Apr 2015 20:00:39 GMT']
3999- server: [WSGIServer/0.2 CPython/3.4.2]
4000- status: {code: 200, message: OK}
4001-- request:
4002- body: null
4003- headers:
4004- accept-encoding: ['gzip, deflate']
4005- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
4006- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
4007- method: !!python/unicode 'GET'
4008- uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers
4009- response:
4010- body: {string: !!python/unicode '{"http_etag": "\"de68e13c430d856461d2b39a5b5d5286d91528bc\"",
4011- "prototype": false, "mail-archive": true, "mhonarc": false}'}
4012- headers:
4013- content-length: ['121']
4014- content-type: [application/json; charset=utf-8]
4015- date: ['Wed, 15 Apr 2015 20:00:39 GMT']
4016- server: [WSGIServer/0.2 CPython/3.4.2]
4017+ date: ['Thu, 16 Apr 2015 01:51:37 GMT']
4018+ server: [WSGIServer/0.2 CPython/3.4.3]
4019+ status: {code: 200, message: OK}
4020+- request:
4021+ body: null
4022+ headers:
4023+ accept-encoding: ['gzip, deflate']
4024+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
4025+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
4026+ method: !!python/unicode 'GET'
4027+ uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers
4028+ response:
4029+ body: {string: !!python/unicode '{"mhonarc": true, "prototype": false, "http_etag":
4030+ "\"95f97f6e3c57d856b8048a96844ddc64a972f96d\"", "mail-archive": false}'}
4031+ headers:
4032+ content-length: ['121']
4033+ content-type: [application/json; charset=utf-8]
4034+ date: ['Thu, 16 Apr 2015 01:51:37 GMT']
4035+ server: [WSGIServer/0.2 CPython/3.4.3]
4036+ status: {code: 200, message: OK}
4037+- request:
4038+ body: prototype=False&mail-archive=True&mhonarc=True
4039+ headers:
4040+ accept-encoding: ['gzip, deflate']
4041+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
4042+ !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
4043+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
4044+ method: !!python/unicode 'PUT'
4045+ uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers
4046+ response:
4047+ body: {string: !!python/unicode ''}
4048+ headers:
4049+ content-length: ['0']
4050+ date: ['Thu, 16 Apr 2015 01:51:37 GMT']
4051+ server: [WSGIServer/0.2 CPython/3.4.3]
4052+ status: {code: 204, message: No Content}
4053+- request:
4054+ body: prototype=False&mail-archive=True&mhonarc=False
4055+ headers:
4056+ accept-encoding: ['gzip, deflate']
4057+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
4058+ !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
4059+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
4060+ method: !!python/unicode 'PUT'
4061+ uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers
4062+ response:
4063+ body: {string: !!python/unicode ''}
4064+ headers:
4065+ content-length: ['0']
4066+ date: ['Thu, 16 Apr 2015 01:51:37 GMT']
4067+ server: [WSGIServer/0.2 CPython/3.4.3]
4068+ status: {code: 204, message: No Content}
4069+- request:
4070+ body: null
4071+ headers:
4072+ accept-encoding: ['gzip, deflate']
4073+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
4074+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
4075+ method: !!python/unicode 'GET'
4076+ uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers
4077+ response:
4078+ body: {string: !!python/unicode '{"mhonarc": false, "prototype": false, "http_etag":
4079+ "\"de68e13c430d856461d2b39a5b5d5286d91528bc\"", "mail-archive": true}'}
4080+ headers:
4081+ content-length: ['121']
4082+ content-type: [application/json; charset=utf-8]
4083+ date: ['Thu, 16 Apr 2015 01:51:37 GMT']
4084+ server: [WSGIServer/0.2 CPython/3.4.3]
4085+ status: {code: 200, message: OK}
4086+- request:
4087+ body: null
4088+ headers:
4089+ accept-encoding: ['gzip, deflate']
4090+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
4091+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
4092+ method: !!python/unicode 'GET'
4093+ uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers
4094+ response:
4095+ body: {string: !!python/unicode '{"mhonarc": false, "prototype": false, "http_etag":
4096+ "\"de68e13c430d856461d2b39a5b5d5286d91528bc\"", "mail-archive": true}'}
4097+ headers:
4098+ content-length: ['121']
4099+ content-type: [application/json; charset=utf-8]
4100+ date: ['Thu, 16 Apr 2015 01:51:37 GMT']
4101+ server: [WSGIServer/0.2 CPython/3.4.3]
4102 status: {code: 200, message: OK}
4103 version: 1
4104
4105=== modified file 'src/postorius/tests/fixtures/vcr_cassettes/test_list_creation.yaml'
4106--- src/postorius/tests/fixtures/vcr_cassettes/test_list_creation.yaml 2015-04-15 20:02:05 +0000
4107+++ src/postorius/tests/fixtures/vcr_cassettes/test_list_creation.yaml 2015-04-16 01:57:12 +0000
4108@@ -13,8 +13,8 @@
4109 headers:
4110 content-length: ['33']
4111 content-type: [application/json; charset=utf-8]
4112- date: ['Wed, 15 Apr 2015 20:00:48 GMT']
4113- server: [WSGIServer/0.2 CPython/3.4.2]
4114+ date: ['Thu, 16 Apr 2015 01:52:01 GMT']
4115+ server: [WSGIServer/0.2 CPython/3.4.3]
4116 status: {code: 400, message: Bad Request}
4117 - request:
4118 body: null
4119@@ -26,13 +26,14 @@
4120 uri: http://localhost:9001/3.0/domains/example.com
4121 response:
4122 body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
4123- "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"",
4124- "mail_host": "example.com", "description": null, "url_host": "example.com"}'}
4125+ "base_url": "http://example.com", "mail_host": "example.com", "http_etag":
4126+ "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": null, "url_host":
4127+ "example.com"}'}
4128 headers:
4129 content-length: ['233']
4130 content-type: [application/json; charset=utf-8]
4131- date: ['Wed, 15 Apr 2015 20:00:48 GMT']
4132- server: [WSGIServer/0.2 CPython/3.4.2]
4133+ date: ['Thu, 16 Apr 2015 01:52:01 GMT']
4134+ server: [WSGIServer/0.2 CPython/3.4.3]
4135 status: {code: 200, message: OK}
4136 - request:
4137 body: null
4138@@ -43,70 +44,72 @@
4139 method: !!python/unicode 'GET'
4140 uri: http://localhost:9001/3.0/domains
4141 response:
4142- body: {string: !!python/unicode '{"http_etag": "\"c385b155f8da284bf78dbe075e20f58a30c893ab\"",
4143- "entries": [{"self_link": "http://localhost:9001/3.0/domains/example.com",
4144- "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"",
4145- "mail_host": "example.com", "description": null, "url_host": "example.com"}],
4146- "start": 0, "total_size": 1}'}
4147+ body: {string: !!python/unicode '{"entries": [{"self_link": "http://localhost:9001/3.0/domains/example.com",
4148+ "base_url": "http://example.com", "mail_host": "example.com", "http_etag":
4149+ "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": null, "url_host":
4150+ "example.com"}], "start": 0, "total_size": 1, "http_etag": "\"c385b155f8da284bf78dbe075e20f58a30c893ab\""}'}
4151 headers:
4152 content-length: ['338']
4153 content-type: [application/json; charset=utf-8]
4154- date: ['Wed, 15 Apr 2015 20:00:48 GMT']
4155- server: [WSGIServer/0.2 CPython/3.4.2]
4156- status: {code: 200, message: OK}
4157-- request:
4158- body: null
4159- headers:
4160- accept-encoding: ['gzip, deflate']
4161- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
4162- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
4163- method: !!python/unicode 'GET'
4164- uri: http://localhost:9001/3.0/domains/example.com
4165- response:
4166- body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
4167- "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"",
4168- "mail_host": "example.com", "description": null, "url_host": "example.com"}'}
4169- headers:
4170- content-length: ['233']
4171- content-type: [application/json; charset=utf-8]
4172- date: ['Wed, 15 Apr 2015 20:00:48 GMT']
4173- server: [WSGIServer/0.2 CPython/3.4.2]
4174- status: {code: 200, message: OK}
4175-- request:
4176- body: null
4177- headers:
4178- accept-encoding: ['gzip, deflate']
4179- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
4180- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
4181- method: !!python/unicode 'GET'
4182- uri: http://localhost:9001/3.0/domains/example.com
4183- response:
4184- body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
4185- "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"",
4186- "mail_host": "example.com", "description": null, "url_host": "example.com"}'}
4187- headers:
4188- content-length: ['233']
4189- content-type: [application/json; charset=utf-8]
4190- date: ['Wed, 15 Apr 2015 20:00:48 GMT']
4191- server: [WSGIServer/0.2 CPython/3.4.2]
4192- status: {code: 200, message: OK}
4193-- request:
4194- body: null
4195- headers:
4196- accept-encoding: ['gzip, deflate']
4197- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
4198- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
4199- method: !!python/unicode 'GET'
4200- uri: http://localhost:9001/3.0/domains/example.com
4201- response:
4202- body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
4203- "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"",
4204- "mail_host": "example.com", "description": null, "url_host": "example.com"}'}
4205- headers:
4206- content-length: ['233']
4207- content-type: [application/json; charset=utf-8]
4208- date: ['Wed, 15 Apr 2015 20:00:48 GMT']
4209- server: [WSGIServer/0.2 CPython/3.4.2]
4210+ date: ['Thu, 16 Apr 2015 01:52:01 GMT']
4211+ server: [WSGIServer/0.2 CPython/3.4.3]
4212+ status: {code: 200, message: OK}
4213+- request:
4214+ body: null
4215+ headers:
4216+ accept-encoding: ['gzip, deflate']
4217+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
4218+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
4219+ method: !!python/unicode 'GET'
4220+ uri: http://localhost:9001/3.0/domains/example.com
4221+ response:
4222+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
4223+ "base_url": "http://example.com", "mail_host": "example.com", "http_etag":
4224+ "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": null, "url_host":
4225+ "example.com"}'}
4226+ headers:
4227+ content-length: ['233']
4228+ content-type: [application/json; charset=utf-8]
4229+ date: ['Thu, 16 Apr 2015 01:52:01 GMT']
4230+ server: [WSGIServer/0.2 CPython/3.4.3]
4231+ status: {code: 200, message: OK}
4232+- request:
4233+ body: null
4234+ headers:
4235+ accept-encoding: ['gzip, deflate']
4236+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
4237+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
4238+ method: !!python/unicode 'GET'
4239+ uri: http://localhost:9001/3.0/domains/example.com
4240+ response:
4241+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
4242+ "base_url": "http://example.com", "mail_host": "example.com", "http_etag":
4243+ "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": null, "url_host":
4244+ "example.com"}'}
4245+ headers:
4246+ content-length: ['233']
4247+ content-type: [application/json; charset=utf-8]
4248+ date: ['Thu, 16 Apr 2015 01:52:01 GMT']
4249+ server: [WSGIServer/0.2 CPython/3.4.3]
4250+ status: {code: 200, message: OK}
4251+- request:
4252+ body: null
4253+ headers:
4254+ accept-encoding: ['gzip, deflate']
4255+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
4256+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
4257+ method: !!python/unicode 'GET'
4258+ uri: http://localhost:9001/3.0/domains/example.com
4259+ response:
4260+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
4261+ "base_url": "http://example.com", "mail_host": "example.com", "http_etag":
4262+ "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": null, "url_host":
4263+ "example.com"}'}
4264+ headers:
4265+ content-length: ['233']
4266+ content-type: [application/json; charset=utf-8]
4267+ date: ['Thu, 16 Apr 2015 01:52:01 GMT']
4268+ server: [WSGIServer/0.2 CPython/3.4.3]
4269 status: {code: 200, message: OK}
4270 - request:
4271 body: fqdn_listname=a_new_list%40example.com
4272@@ -121,9 +124,9 @@
4273 body: {string: !!python/unicode ''}
4274 headers:
4275 content-length: ['0']
4276- date: ['Wed, 15 Apr 2015 20:00:48 GMT']
4277+ date: ['Thu, 16 Apr 2015 01:52:01 GMT']
4278 location: ['http://localhost:9001/3.0/lists/a_new_list.example.com']
4279- server: [WSGIServer/0.2 CPython/3.4.2]
4280+ server: [WSGIServer/0.2 CPython/3.4.3]
4281 status: {code: 201, message: Created}
4282 - request:
4283 body: null
4284@@ -134,19 +137,18 @@
4285 method: !!python/unicode 'GET'
4286 uri: http://localhost:9001/3.0/lists/a_new_list.example.com
4287 response:
4288- body: {string: !!python/unicode '{"fqdn_listname": "a_new_list@example.com", "list_id":
4289- "a_new_list.example.com", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\"",
4290- "list_name": "a_new_list", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com",
4291- "volume": 1, "display_name": "A_new_list", "mail_host": "example.com", "member_count":
4292- 0}'}
4293+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com",
4294+ "mail_host": "example.com", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\"",
4295+ "member_count": 0, "volume": 1, "list_id": "a_new_list.example.com", "fqdn_listname":
4296+ "a_new_list@example.com", "list_name": "a_new_list", "display_name": "A_new_list"}'}
4297 headers:
4298 content-length: ['329']
4299 content-type: [application/json; charset=utf-8]
4300- date: ['Wed, 15 Apr 2015 20:00:48 GMT']
4301- server: [WSGIServer/0.2 CPython/3.4.2]
4302+ date: ['Thu, 16 Apr 2015 01:52:02 GMT']
4303+ server: [WSGIServer/0.2 CPython/3.4.3]
4304 status: {code: 200, message: OK}
4305 - request:
4306- body: subscriber=owner%40example.com&list_id=a_new_list.example.com&role=owner
4307+ body: role=owner&subscriber=owner%40example.com&list_id=a_new_list.example.com
4308 headers:
4309 accept-encoding: ['gzip, deflate']
4310 !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
4311@@ -158,9 +160,9 @@
4312 body: {string: !!python/unicode ''}
4313 headers:
4314 content-length: ['0']
4315- date: ['Wed, 15 Apr 2015 20:00:48 GMT']
4316- location: ['http://localhost:9001/3.0/members/334326661981448123324369958221998209208']
4317- server: [WSGIServer/0.2 CPython/3.4.2]
4318+ date: ['Thu, 16 Apr 2015 01:52:02 GMT']
4319+ location: ['http://localhost:9001/3.0/members/130259220341094412070687693392806297641']
4320+ server: [WSGIServer/0.2 CPython/3.4.3]
4321 status: {code: 201, message: Created}
4322 - request:
4323 body: null
4324@@ -171,35 +173,35 @@
4325 method: !!python/unicode 'GET'
4326 uri: http://localhost:9001/3.0/lists/a_new_list@example.com/config
4327 response:
4328- body: {string: !!python/unicode '{"request_address": "a_new_list-request@example.com",
4329- "web_host": "example.com", "digest_last_sent_at": null, "posting_address":
4330- "a_new_list@example.com", "reply_to_address": "", "digest_size_threshold":
4331- 30.0, "admin_notify_mchanges": false, "scheme": "http", "autorespond_owner":
4332- "none", "send_welcome_message": true, "fqdn_listname": "a_new_list@example.com",
4333- "http_etag": "\"2c436b0bb4e5b3e256976cceb9890f61e0324649\"", "admin_immed_notify":
4334- true, "owner_address": "a_new_list-owner@example.com", "convert_html_to_plaintext":
4335- false, "autorespond_requests": "none", "list_name": "a_new_list", "autoresponse_postings_text":
4336- "", "post_id": 1, "volume": 1, "include_rfc2369_headers": true, "first_strip_reply_to":
4337- false, "subscription_policy": "confirm", "description": "", "default_member_action":
4338- "defer", "bounces_address": "a_new_list-bounces@example.com", "join_address":
4339- "a_new_list-join@example.com", "autoresponse_grace_period": "90d", "anonymous_list":
4340- false, "default_nonmember_action": "hold", "acceptable_aliases": [], "advertised":
4341- true, "display_name": "A_new_list", "posting_pipeline": "default-posting-pipeline",
4342- "filter_content": false, "last_post_at": null, "leave_address": "a_new_list-leave@example.com",
4343- "no_reply_address": "noreply@example.com", "created_at": "2015-04-15T20:00:48.758263",
4344- "subject_prefix": "[A_new_list] ", "autoresponse_request_text": "", "administrivia":
4345- true, "reply_goes_to_list": "no_munging", "next_digest_number": 1, "collapse_alternatives":
4346- true, "archive_policy": "public", "welcome_message_uri": "mailman:///welcome.txt",
4347- "mail_host": "example.com", "autoresponse_owner_text": "", "allow_list_posts":
4348- true, "autorespond_postings": "none"}'}
4349+ body: {string: !!python/unicode '{"reply_to_address": "", "reply_goes_to_list":
4350+ "no_munging", "autoresponse_grace_period": "90d", "scheme": "http", "leave_address":
4351+ "a_new_list-leave@example.com", "posting_address": "a_new_list@example.com",
4352+ "autoresponse_request_text": "", "autoresponse_owner_text": "", "list_name":
4353+ "a_new_list", "display_name": "A_new_list", "convert_html_to_plaintext": false,
4354+ "archive_policy": "public", "no_reply_address": "noreply@example.com", "autoresponse_postings_text":
4355+ "", "http_etag": "\"8d82afe0ef8e8b723083f5283acf1a0073150c46\"", "allow_list_posts":
4356+ true, "posting_pipeline": "default-posting-pipeline", "volume": 1, "autorespond_postings":
4357+ "none", "admin_notify_mchanges": false, "default_member_action": "defer",
4358+ "default_nonmember_action": "hold", "created_at": "2015-04-16T01:52:01.844038",
4359+ "subject_prefix": "[A_new_list] ", "include_rfc2369_headers": true, "post_id":
4360+ 1, "advertised": true, "join_address": "a_new_list-join@example.com", "anonymous_list":
4361+ false, "last_post_at": null, "owner_address": "a_new_list-owner@example.com",
4362+ "fqdn_listname": "a_new_list@example.com", "digest_last_sent_at": null, "collapse_alternatives":
4363+ true, "welcome_message_uri": "mailman:///welcome.txt", "first_strip_reply_to":
4364+ false, "admin_immed_notify": true, "filter_content": false, "autorespond_requests":
4365+ "none", "mail_host": "example.com", "digest_size_threshold": 30.0, "send_welcome_message":
4366+ true, "acceptable_aliases": [], "next_digest_number": 1, "description": "",
4367+ "request_address": "a_new_list-request@example.com", "autorespond_owner":
4368+ "none", "administrivia": true, "bounces_address": "a_new_list-bounces@example.com",
4369+ "web_host": "example.com"}'}
4370 headers:
4371- content-length: ['1687']
4372+ content-length: ['1653']
4373 content-type: [application/json; charset=utf-8]
4374- date: ['Wed, 15 Apr 2015 20:00:48 GMT']
4375- server: [WSGIServer/0.2 CPython/3.4.2]
4376+ date: ['Thu, 16 Apr 2015 01:52:02 GMT']
4377+ server: [WSGIServer/0.2 CPython/3.4.3]
4378 status: {code: 200, message: OK}
4379 - request:
4380- body: convert_html_to_plaintext=False&autoresponse_postings_text=&send_welcome_message=True&autorespond_requests=none&display_name=A_new_list&autorespond_postings=none&filter_content=False&reply_goes_to_list=no_munging&admin_notify_mchanges=False&default_member_action=defer&first_strip_reply_to=False&autoresponse_grace_period=90d&reply_to_address=&autoresponse_owner_text=&description=A+new+list.&archive_policy=public&anonymous_list=False&digest_size_threshold=30.0&advertised=True&autoresponse_request_text=&welcome_message_uri=mailman%3A%2F%2F%2Fwelcome.txt&include_rfc2369_headers=True&allow_list_posts=True&admin_immed_notify=True&subject_prefix=%5BA_new_list%5D+&autorespond_owner=none&collapse_alternatives=True&default_nonmember_action=hold&subscription_policy=confirm&posting_pipeline=default-posting-pipeline&administrivia=True
4381+ body: filter_content=False&first_strip_reply_to=False&autoresponse_postings_text=&digest_size_threshold=30.0&archive_policy=public&autorespond_owner=none&subject_prefix=%5BA_new_list%5D+&administrivia=True&reply_goes_to_list=no_munging&welcome_message_uri=mailman%3A%2F%2F%2Fwelcome.txt&default_member_action=defer&reply_to_address=&autorespond_postings=none&advertised=True&default_nonmember_action=hold&send_welcome_message=True&autoresponse_owner_text=&collapse_alternatives=True&autoresponse_grace_period=90d&autorespond_requests=none&anonymous_list=False&description=A+new+list.&admin_immed_notify=True&display_name=A_new_list&posting_pipeline=default-posting-pipeline&admin_notify_mchanges=False&convert_html_to_plaintext=False&autoresponse_request_text=&include_rfc2369_headers=True&allow_list_posts=True
4382 headers:
4383 accept-encoding: ['gzip, deflate']
4384 !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
4385@@ -211,8 +213,8 @@
4386 body: {string: !!python/unicode ''}
4387 headers:
4388 content-length: ['0']
4389- date: ['Wed, 15 Apr 2015 20:00:48 GMT']
4390- server: [WSGIServer/0.2 CPython/3.4.2]
4391+ date: ['Thu, 16 Apr 2015 01:52:02 GMT']
4392+ server: [WSGIServer/0.2 CPython/3.4.3]
4393 status: {code: 204, message: No Content}
4394 - request:
4395 body: null
4396@@ -223,16 +225,15 @@
4397 method: !!python/unicode 'GET'
4398 uri: http://localhost:9001/3.0/lists/a_new_list@example.com
4399 response:
4400- body: {string: !!python/unicode '{"fqdn_listname": "a_new_list@example.com", "list_id":
4401- "a_new_list.example.com", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\"",
4402- "list_name": "a_new_list", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com",
4403- "volume": 1, "display_name": "A_new_list", "mail_host": "example.com", "member_count":
4404- 0}'}
4405+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com",
4406+ "mail_host": "example.com", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\"",
4407+ "member_count": 0, "volume": 1, "list_id": "a_new_list.example.com", "fqdn_listname":
4408+ "a_new_list@example.com", "list_name": "a_new_list", "display_name": "A_new_list"}'}
4409 headers:
4410 content-length: ['329']
4411 content-type: [application/json; charset=utf-8]
4412- date: ['Wed, 15 Apr 2015 20:00:48 GMT']
4413- server: [WSGIServer/0.2 CPython/3.4.2]
4414+ date: ['Thu, 16 Apr 2015 01:52:02 GMT']
4415+ server: [WSGIServer/0.2 CPython/3.4.3]
4416 status: {code: 200, message: OK}
4417 - request:
4418 body: null
4419@@ -243,18 +244,17 @@
4420 method: !!python/unicode 'GET'
4421 uri: http://localhost:9001/3.0/lists/a_new_list.example.com/roster/owner
4422 response:
4423- body: {string: !!python/unicode '{"http_etag": "\"3759623188199673e6694d21f0003f1e64651318\"",
4424- "entries": [{"delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/334326661981448123324369958221998209208",
4425- "email": "owner@example.com", "list_id": "a_new_list.example.com", "user":
4426- "http://localhost:9001/3.0/users/117102017827318954078289964069449293796",
4427- "role": "owner", "http_etag": "\"b5c1302df79cb187a3bc0a7898edb19a3ec4d008\"",
4428- "address": "http://localhost:9001/3.0/addresses/owner@example.com", "member_id":
4429- 334326661981448123324369958221998209208}], "start": 0, "total_size": 1}'}
4430+ body: {string: !!python/unicode '{"entries": [{"address": "http://localhost:9001/3.0/addresses/owner@example.com",
4431+ "self_link": "http://localhost:9001/3.0/members/130259220341094412070687693392806297641",
4432+ "delivery_mode": "regular", "member_id": 130259220341094412070687693392806297641,
4433+ "http_etag": "\"1f149333320b99a08398ad8fb3dd50ebdd75ff69\"", "list_id": "a_new_list.example.com",
4434+ "email": "owner@example.com", "role": "owner", "user": "http://localhost:9001/3.0/users/79430588387616846272767218810898318148"}],
4435+ "start": 0, "total_size": 1, "http_etag": "\"a8a378c3000202b0b61a37d5fbc23a4066ebcf46\""}'}
4436 headers:
4437- content-length: ['573']
4438+ content-length: ['572']
4439 content-type: [application/json; charset=utf-8]
4440- date: ['Wed, 15 Apr 2015 20:00:48 GMT']
4441- server: [WSGIServer/0.2 CPython/3.4.2]
4442+ date: ['Thu, 16 Apr 2015 01:52:02 GMT']
4443+ server: [WSGIServer/0.2 CPython/3.4.3]
4444 status: {code: 200, message: OK}
4445 - request:
4446 body: null
4447@@ -265,17 +265,16 @@
4448 method: !!python/unicode 'GET'
4449 uri: http://localhost:9001/3.0/lists
4450 response:
4451- body: {string: !!python/unicode '{"http_etag": "\"dee96dcb9d3f736cc6fa170baeea8f879d7db6f0\"",
4452- "entries": [{"fqdn_listname": "a_new_list@example.com", "list_id": "a_new_list.example.com",
4453- "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\"", "list_name":
4454- "a_new_list", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com",
4455- "volume": 1, "display_name": "A_new_list", "mail_host": "example.com", "member_count":
4456- 0}], "start": 0, "total_size": 1}'}
4457+ body: {string: !!python/unicode '{"entries": [{"self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com",
4458+ "mail_host": "example.com", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\"",
4459+ "member_count": 0, "volume": 1, "list_id": "a_new_list.example.com", "fqdn_listname":
4460+ "a_new_list@example.com", "list_name": "a_new_list", "display_name": "A_new_list"}],
4461+ "start": 0, "total_size": 1, "http_etag": "\"dee96dcb9d3f736cc6fa170baeea8f879d7db6f0\""}'}
4462 headers:
4463 content-length: ['434']
4464 content-type: [application/json; charset=utf-8]
4465- date: ['Wed, 15 Apr 2015 20:00:49 GMT']
4466- server: [WSGIServer/0.2 CPython/3.4.2]
4467+ date: ['Thu, 16 Apr 2015 01:52:02 GMT']
4468+ server: [WSGIServer/0.2 CPython/3.4.3]
4469 status: {code: 200, message: OK}
4470 - request:
4471 body: null
4472@@ -286,16 +285,15 @@
4473 method: !!python/unicode 'GET'
4474 uri: http://localhost:9001/3.0/lists/a_new_list.example.com
4475 response:
4476- body: {string: !!python/unicode '{"fqdn_listname": "a_new_list@example.com", "list_id":
4477- "a_new_list.example.com", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\"",
4478- "list_name": "a_new_list", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com",
4479- "volume": 1, "display_name": "A_new_list", "mail_host": "example.com", "member_count":
4480- 0}'}
4481+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com",
4482+ "mail_host": "example.com", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\"",
4483+ "member_count": 0, "volume": 1, "list_id": "a_new_list.example.com", "fqdn_listname":
4484+ "a_new_list@example.com", "list_name": "a_new_list", "display_name": "A_new_list"}'}
4485 headers:
4486 content-length: ['329']
4487 content-type: [application/json; charset=utf-8]
4488- date: ['Wed, 15 Apr 2015 20:00:49 GMT']
4489- server: [WSGIServer/0.2 CPython/3.4.2]
4490+ date: ['Thu, 16 Apr 2015 01:52:02 GMT']
4491+ server: [WSGIServer/0.2 CPython/3.4.3]
4492 status: {code: 200, message: OK}
4493 - request:
4494 body: null
4495@@ -309,8 +307,8 @@
4496 body: {string: !!python/unicode ''}
4497 headers:
4498 content-length: ['0']
4499- date: ['Wed, 15 Apr 2015 20:00:49 GMT']
4500- server: [WSGIServer/0.2 CPython/3.4.2]
4501+ date: ['Thu, 16 Apr 2015 01:52:02 GMT']
4502+ server: [WSGIServer/0.2 CPython/3.4.3]
4503 status: {code: 204, message: No Content}
4504 - request:
4505 body: mail_host=example.com
4506@@ -326,8 +324,8 @@
4507 headers:
4508 content-length: ['33']
4509 content-type: [application/json; charset=utf-8]
4510- date: ['Wed, 15 Apr 2015 20:00:49 GMT']
4511- server: [WSGIServer/0.2 CPython/3.4.2]
4512+ date: ['Thu, 16 Apr 2015 01:52:03 GMT']
4513+ server: [WSGIServer/0.2 CPython/3.4.3]
4514 status: {code: 400, message: Bad Request}
4515 - request:
4516 body: null
4517@@ -339,13 +337,14 @@
4518 uri: http://localhost:9001/3.0/domains/example.com
4519 response:
4520 body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
4521- "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"",
4522- "mail_host": "example.com", "description": null, "url_host": "example.com"}'}
4523+ "base_url": "http://example.com", "mail_host": "example.com", "http_etag":
4524+ "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": null, "url_host":
4525+ "example.com"}'}
4526 headers:
4527 content-length: ['233']
4528 content-type: [application/json; charset=utf-8]
4529- date: ['Wed, 15 Apr 2015 20:00:49 GMT']
4530- server: [WSGIServer/0.2 CPython/3.4.2]
4531+ date: ['Thu, 16 Apr 2015 01:52:03 GMT']
4532+ server: [WSGIServer/0.2 CPython/3.4.3]
4533 status: {code: 200, message: OK}
4534 - request:
4535 body: null
4536@@ -356,12 +355,11 @@
4537 method: !!python/unicode 'GET'
4538 uri: http://localhost:9001/3.0/lists
4539 response:
4540- body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"",
4541- "start": 0, "total_size": 0}'}
4542+ body: {string: !!python/unicode '{"start": 0, "total_size": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\""}'}
4543 headers:
4544 content-length: ['90']
4545 content-type: [application/json; charset=utf-8]
4546- date: ['Wed, 15 Apr 2015 20:00:49 GMT']
4547- server: [WSGIServer/0.2 CPython/3.4.2]
4548+ date: ['Thu, 16 Apr 2015 01:52:03 GMT']
4549+ server: [WSGIServer/0.2 CPython/3.4.3]
4550 status: {code: 200, message: OK}
4551 version: 1
4552
4553=== modified file 'src/postorius/tests/fixtures/vcr_cassettes/test_list_index.yaml'
4554--- src/postorius/tests/fixtures/vcr_cassettes/test_list_index.yaml 2015-04-15 20:02:05 +0000
4555+++ src/postorius/tests/fixtures/vcr_cassettes/test_list_index.yaml 2015-04-16 01:57:12 +0000
4556@@ -13,8 +13,8 @@
4557 headers:
4558 content-length: ['33']
4559 content-type: [application/json; charset=utf-8]
4560- date: ['Wed, 15 Apr 2015 20:00:48 GMT']
4561- server: [WSGIServer/0.2 CPython/3.4.2]
4562+ date: ['Thu, 16 Apr 2015 01:52:03 GMT']
4563+ server: [WSGIServer/0.2 CPython/3.4.3]
4564 status: {code: 400, message: Bad Request}
4565 - request:
4566 body: null
4567@@ -26,13 +26,14 @@
4568 uri: http://localhost:9001/3.0/domains/example.com
4569 response:
4570 body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
4571- "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"",
4572- "mail_host": "example.com", "description": null, "url_host": "example.com"}'}
4573+ "base_url": "http://example.com", "mail_host": "example.com", "http_etag":
4574+ "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": null, "url_host":
4575+ "example.com"}'}
4576 headers:
4577 content-length: ['233']
4578 content-type: [application/json; charset=utf-8]
4579- date: ['Wed, 15 Apr 2015 20:00:48 GMT']
4580- server: [WSGIServer/0.2 CPython/3.4.2]
4581+ date: ['Thu, 16 Apr 2015 01:52:03 GMT']
4582+ server: [WSGIServer/0.2 CPython/3.4.3]
4583 status: {code: 200, message: OK}
4584 - request:
4585 body: null
4586@@ -44,13 +45,14 @@
4587 uri: http://localhost:9001/3.0/domains/example.com
4588 response:
4589 body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
4590- "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"",
4591- "mail_host": "example.com", "description": null, "url_host": "example.com"}'}
4592+ "base_url": "http://example.com", "mail_host": "example.com", "http_etag":
4593+ "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": null, "url_host":
4594+ "example.com"}'}
4595 headers:
4596 content-length: ['233']
4597 content-type: [application/json; charset=utf-8]
4598- date: ['Wed, 15 Apr 2015 20:00:48 GMT']
4599- server: [WSGIServer/0.2 CPython/3.4.2]
4600+ date: ['Thu, 16 Apr 2015 01:52:03 GMT']
4601+ server: [WSGIServer/0.2 CPython/3.4.3]
4602 status: {code: 200, message: OK}
4603 - request:
4604 body: fqdn_listname=foo%40example.com
4605@@ -65,9 +67,9 @@
4606 body: {string: !!python/unicode ''}
4607 headers:
4608 content-length: ['0']
4609- date: ['Wed, 15 Apr 2015 20:00:48 GMT']
4610+ date: ['Thu, 16 Apr 2015 01:52:03 GMT']
4611 location: ['http://localhost:9001/3.0/lists/foo.example.com']
4612- server: [WSGIServer/0.2 CPython/3.4.2]
4613+ server: [WSGIServer/0.2 CPython/3.4.3]
4614 status: {code: 201, message: Created}
4615 - request:
4616 body: null
4617@@ -78,17 +80,16 @@
4618 method: !!python/unicode 'GET'
4619 uri: http://localhost:9001/3.0/lists
4620 response:
4621- body: {string: !!python/unicode '{"http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"",
4622- "entries": [{"fqdn_listname": "foo@example.com", "list_id": "foo.example.com",
4623- "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "list_name":
4624- "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume":
4625- 1, "display_name": "Foo", "mail_host": "example.com", "member_count": 0}],
4626- "start": 0, "total_size": 1}'}
4627+ body: {string: !!python/unicode '{"entries": [{"self_link": "http://localhost:9001/3.0/lists/foo.example.com",
4628+ "mail_host": "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"",
4629+ "member_count": 0, "volume": 1, "list_id": "foo.example.com", "fqdn_listname":
4630+ "foo@example.com", "list_name": "foo", "display_name": "Foo"}], "start": 0,
4631+ "total_size": 1, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\""}'}
4632 headers:
4633 content-length: ['399']
4634 content-type: [application/json; charset=utf-8]
4635- date: ['Wed, 15 Apr 2015 20:00:48 GMT']
4636- server: [WSGIServer/0.2 CPython/3.4.2]
4637+ date: ['Thu, 16 Apr 2015 01:52:03 GMT']
4638+ server: [WSGIServer/0.2 CPython/3.4.3]
4639 status: {code: 200, message: OK}
4640 - request:
4641 body: null
4642@@ -99,16 +100,15 @@
4643 method: !!python/unicode 'GET'
4644 uri: http://localhost:9001/3.0/lists/foo.example.com
4645 response:
4646- body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id":
4647- "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"",
4648- "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com",
4649- "volume": 1, "display_name": "Foo", "mail_host": "example.com", "member_count":
4650- 0}'}
4651+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/lists/foo.example.com",
4652+ "mail_host": "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"",
4653+ "member_count": 0, "volume": 1, "list_id": "foo.example.com", "fqdn_listname":
4654+ "foo@example.com", "list_name": "foo", "display_name": "Foo"}'}
4655 headers:
4656 content-length: ['294']
4657 content-type: [application/json; charset=utf-8]
4658- date: ['Wed, 15 Apr 2015 20:00:48 GMT']
4659- server: [WSGIServer/0.2 CPython/3.4.2]
4660+ date: ['Thu, 16 Apr 2015 01:52:03 GMT']
4661+ server: [WSGIServer/0.2 CPython/3.4.3]
4662 status: {code: 200, message: OK}
4663 - request:
4664 body: null
4665@@ -119,31 +119,31 @@
4666 method: !!python/unicode 'GET'
4667 uri: http://localhost:9001/3.0/lists/foo@example.com/config
4668 response:
4669- body: {string: !!python/unicode '{"request_address": "foo-request@example.com",
4670- "web_host": "example.com", "digest_last_sent_at": null, "posting_address":
4671- "foo@example.com", "reply_to_address": "", "digest_size_threshold": 30.0,
4672- "admin_notify_mchanges": false, "scheme": "http", "autorespond_owner": "none",
4673- "send_welcome_message": true, "fqdn_listname": "foo@example.com", "http_etag":
4674- "\"364934c1f57eb144f582394c473883804a69ade5\"", "admin_immed_notify": true,
4675- "owner_address": "foo-owner@example.com", "convert_html_to_plaintext": false,
4676- "autorespond_requests": "none", "list_name": "foo", "autoresponse_postings_text":
4677- "", "post_id": 1, "volume": 1, "include_rfc2369_headers": true, "first_strip_reply_to":
4678- false, "subscription_policy": "confirm", "description": "", "default_member_action":
4679- "defer", "bounces_address": "foo-bounces@example.com", "join_address": "foo-join@example.com",
4680- "autoresponse_grace_period": "90d", "anonymous_list": false, "default_nonmember_action":
4681- "hold", "acceptable_aliases": [], "advertised": true, "display_name": "Foo",
4682- "posting_pipeline": "default-posting-pipeline", "filter_content": false, "last_post_at":
4683- null, "leave_address": "foo-leave@example.com", "no_reply_address": "noreply@example.com",
4684- "created_at": "2015-04-15T20:00:48.209721", "subject_prefix": "[Foo] ", "autoresponse_request_text":
4685- "", "administrivia": true, "reply_goes_to_list": "no_munging", "next_digest_number":
4686- 1, "collapse_alternatives": true, "archive_policy": "public", "welcome_message_uri":
4687- "mailman:///welcome.txt", "mail_host": "example.com", "autoresponse_owner_text":
4688- "", "allow_list_posts": true, "autorespond_postings": "none"}'}
4689+ body: {string: !!python/unicode '{"reply_to_address": "", "reply_goes_to_list":
4690+ "no_munging", "autoresponse_grace_period": "90d", "scheme": "http", "leave_address":
4691+ "foo-leave@example.com", "posting_address": "foo@example.com", "autoresponse_request_text":
4692+ "", "autoresponse_owner_text": "", "list_name": "foo", "display_name": "Foo",
4693+ "convert_html_to_plaintext": false, "archive_policy": "public", "no_reply_address":
4694+ "noreply@example.com", "autoresponse_postings_text": "", "http_etag": "\"39784619b051edf746bdaa0802a6a1640d973e8c\"",
4695+ "allow_list_posts": true, "posting_pipeline": "default-posting-pipeline",
4696+ "volume": 1, "autorespond_postings": "none", "admin_notify_mchanges": false,
4697+ "default_member_action": "defer", "default_nonmember_action": "hold", "created_at":
4698+ "2015-04-16T01:52:03.759542", "subject_prefix": "[Foo] ", "include_rfc2369_headers":
4699+ true, "post_id": 1, "advertised": true, "join_address": "foo-join@example.com",
4700+ "anonymous_list": false, "last_post_at": null, "owner_address": "foo-owner@example.com",
4701+ "fqdn_listname": "foo@example.com", "digest_last_sent_at": null, "collapse_alternatives":
4702+ true, "welcome_message_uri": "mailman:///welcome.txt", "first_strip_reply_to":
4703+ false, "admin_immed_notify": true, "filter_content": false, "autorespond_requests":
4704+ "none", "mail_host": "example.com", "digest_size_threshold": 30.0, "send_welcome_message":
4705+ true, "acceptable_aliases": [], "next_digest_number": 1, "description": "",
4706+ "request_address": "foo-request@example.com", "autorespond_owner": "none",
4707+ "administrivia": true, "bounces_address": "foo-bounces@example.com", "web_host":
4708+ "example.com"}'}
4709 headers:
4710- content-length: ['1617']
4711+ content-length: ['1583']
4712 content-type: [application/json; charset=utf-8]
4713- date: ['Wed, 15 Apr 2015 20:00:48 GMT']
4714- server: [WSGIServer/0.2 CPython/3.4.2]
4715+ date: ['Thu, 16 Apr 2015 01:52:04 GMT']
4716+ server: [WSGIServer/0.2 CPython/3.4.3]
4717 status: {code: 200, message: OK}
4718 - request:
4719 body: null
4720@@ -154,16 +154,15 @@
4721 method: !!python/unicode 'GET'
4722 uri: http://localhost:9001/3.0/domains
4723 response:
4724- body: {string: !!python/unicode '{"http_etag": "\"c385b155f8da284bf78dbe075e20f58a30c893ab\"",
4725- "entries": [{"self_link": "http://localhost:9001/3.0/domains/example.com",
4726- "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"",
4727- "mail_host": "example.com", "description": null, "url_host": "example.com"}],
4728- "start": 0, "total_size": 1}'}
4729+ body: {string: !!python/unicode '{"entries": [{"self_link": "http://localhost:9001/3.0/domains/example.com",
4730+ "base_url": "http://example.com", "mail_host": "example.com", "http_etag":
4731+ "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": null, "url_host":
4732+ "example.com"}], "start": 0, "total_size": 1, "http_etag": "\"c385b155f8da284bf78dbe075e20f58a30c893ab\""}'}
4733 headers:
4734 content-length: ['338']
4735 content-type: [application/json; charset=utf-8]
4736- date: ['Wed, 15 Apr 2015 20:00:48 GMT']
4737- server: [WSGIServer/0.2 CPython/3.4.2]
4738+ date: ['Thu, 16 Apr 2015 01:52:04 GMT']
4739+ server: [WSGIServer/0.2 CPython/3.4.3]
4740 status: {code: 200, message: OK}
4741 - request:
4742 body: null
4743@@ -175,83 +174,84 @@
4744 uri: http://localhost:9001/3.0/domains/example.com
4745 response:
4746 body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
4747- "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"",
4748- "mail_host": "example.com", "description": null, "url_host": "example.com"}'}
4749+ "base_url": "http://example.com", "mail_host": "example.com", "http_etag":
4750+ "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": null, "url_host":
4751+ "example.com"}'}
4752 headers:
4753 content-length: ['233']
4754 content-type: [application/json; charset=utf-8]
4755- date: ['Wed, 15 Apr 2015 20:00:48 GMT']
4756- server: [WSGIServer/0.2 CPython/3.4.2]
4757- status: {code: 200, message: OK}
4758-- request:
4759- body: null
4760- headers:
4761- accept-encoding: ['gzip, deflate']
4762- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
4763- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
4764- method: !!python/unicode 'GET'
4765- uri: http://localhost:9001/3.0/lists/foo@example.com/config
4766- response:
4767- body: {string: !!python/unicode '{"request_address": "foo-request@example.com",
4768- "web_host": "example.com", "digest_last_sent_at": null, "posting_address":
4769- "foo@example.com", "reply_to_address": "", "digest_size_threshold": 30.0,
4770- "admin_notify_mchanges": false, "scheme": "http", "autorespond_owner": "none",
4771- "send_welcome_message": true, "fqdn_listname": "foo@example.com", "http_etag":
4772- "\"364934c1f57eb144f582394c473883804a69ade5\"", "admin_immed_notify": true,
4773- "owner_address": "foo-owner@example.com", "convert_html_to_plaintext": false,
4774- "autorespond_requests": "none", "list_name": "foo", "autoresponse_postings_text":
4775- "", "post_id": 1, "volume": 1, "include_rfc2369_headers": true, "first_strip_reply_to":
4776- false, "subscription_policy": "confirm", "description": "", "default_member_action":
4777- "defer", "bounces_address": "foo-bounces@example.com", "join_address": "foo-join@example.com",
4778- "autoresponse_grace_period": "90d", "anonymous_list": false, "default_nonmember_action":
4779- "hold", "acceptable_aliases": [], "advertised": true, "display_name": "Foo",
4780- "posting_pipeline": "default-posting-pipeline", "filter_content": false, "last_post_at":
4781- null, "leave_address": "foo-leave@example.com", "no_reply_address": "noreply@example.com",
4782- "created_at": "2015-04-15T20:00:48.209721", "subject_prefix": "[Foo] ", "autoresponse_request_text":
4783- "", "administrivia": true, "reply_goes_to_list": "no_munging", "next_digest_number":
4784- 1, "collapse_alternatives": true, "archive_policy": "public", "welcome_message_uri":
4785- "mailman:///welcome.txt", "mail_host": "example.com", "autoresponse_owner_text":
4786- "", "allow_list_posts": true, "autorespond_postings": "none"}'}
4787- headers:
4788- content-length: ['1617']
4789- content-type: [application/json; charset=utf-8]
4790- date: ['Wed, 15 Apr 2015 20:00:48 GMT']
4791- server: [WSGIServer/0.2 CPython/3.4.2]
4792- status: {code: 200, message: OK}
4793-- request:
4794- body: null
4795- headers:
4796- accept-encoding: ['gzip, deflate']
4797- !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
4798- !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
4799- method: !!python/unicode 'GET'
4800- uri: http://localhost:9001/3.0/lists/foo@example.com/config
4801- response:
4802- body: {string: !!python/unicode '{"request_address": "foo-request@example.com",
4803- "web_host": "example.com", "digest_last_sent_at": null, "posting_address":
4804- "foo@example.com", "reply_to_address": "", "digest_size_threshold": 30.0,
4805- "admin_notify_mchanges": false, "scheme": "http", "autorespond_owner": "none",
4806- "send_welcome_message": true, "fqdn_listname": "foo@example.com", "http_etag":
4807- "\"364934c1f57eb144f582394c473883804a69ade5\"", "admin_immed_notify": true,
4808- "owner_address": "foo-owner@example.com", "convert_html_to_plaintext": false,
4809- "autorespond_requests": "none", "list_name": "foo", "autoresponse_postings_text":
4810- "", "post_id": 1, "volume": 1, "include_rfc2369_headers": true, "first_strip_reply_to":
4811- false, "subscription_policy": "confirm", "description": "", "default_member_action":
4812- "defer", "bounces_address": "foo-bounces@example.com", "join_address": "foo-join@example.com",
4813- "autoresponse_grace_period": "90d", "anonymous_list": false, "default_nonmember_action":
4814- "hold", "acceptable_aliases": [], "advertised": true, "display_name": "Foo",
4815- "posting_pipeline": "default-posting-pipeline", "filter_content": false, "last_post_at":
4816- null, "leave_address": "foo-leave@example.com", "no_reply_address": "noreply@example.com",
4817- "created_at": "2015-04-15T20:00:48.209721", "subject_prefix": "[Foo] ", "autoresponse_request_text":
4818- "", "administrivia": true, "reply_goes_to_list": "no_munging", "next_digest_number":
4819- 1, "collapse_alternatives": true, "archive_policy": "public", "welcome_message_uri":
4820- "mailman:///welcome.txt", "mail_host": "example.com", "autoresponse_owner_text":
4821- "", "allow_list_posts": true, "autorespond_postings": "none"}'}
4822- headers:
4823- content-length: ['1617']
4824- content-type: [application/json; charset=utf-8]
4825- date: ['Wed, 15 Apr 2015 20:00:48 GMT']
4826- server: [WSGIServer/0.2 CPython/3.4.2]
4827+ date: ['Thu, 16 Apr 2015 01:52:04 GMT']
4828+ server: [WSGIServer/0.2 CPython/3.4.3]
4829+ status: {code: 200, message: OK}
4830+- request:
4831+ body: null
4832+ headers:
4833+ accept-encoding: ['gzip, deflate']
4834+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
4835+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
4836+ method: !!python/unicode 'GET'
4837+ uri: http://localhost:9001/3.0/lists/foo@example.com/config
4838+ response:
4839+ body: {string: !!python/unicode '{"reply_to_address": "", "reply_goes_to_list":
4840+ "no_munging", "autoresponse_grace_period": "90d", "scheme": "http", "leave_address":
4841+ "foo-leave@example.com", "posting_address": "foo@example.com", "autoresponse_request_text":
4842+ "", "autoresponse_owner_text": "", "list_name": "foo", "display_name": "Foo",
4843+ "convert_html_to_plaintext": false, "archive_policy": "public", "no_reply_address":
4844+ "noreply@example.com", "autoresponse_postings_text": "", "http_etag": "\"39784619b051edf746bdaa0802a6a1640d973e8c\"",
4845+ "allow_list_posts": true, "posting_pipeline": "default-posting-pipeline",
4846+ "volume": 1, "autorespond_postings": "none", "admin_notify_mchanges": false,
4847+ "default_member_action": "defer", "default_nonmember_action": "hold", "created_at":
4848+ "2015-04-16T01:52:03.759542", "subject_prefix": "[Foo] ", "include_rfc2369_headers":
4849+ true, "post_id": 1, "advertised": true, "join_address": "foo-join@example.com",
4850+ "anonymous_list": false, "last_post_at": null, "owner_address": "foo-owner@example.com",
4851+ "fqdn_listname": "foo@example.com", "digest_last_sent_at": null, "collapse_alternatives":
4852+ true, "welcome_message_uri": "mailman:///welcome.txt", "first_strip_reply_to":
4853+ false, "admin_immed_notify": true, "filter_content": false, "autorespond_requests":
4854+ "none", "mail_host": "example.com", "digest_size_threshold": 30.0, "send_welcome_message":
4855+ true, "acceptable_aliases": [], "next_digest_number": 1, "description": "",
4856+ "request_address": "foo-request@example.com", "autorespond_owner": "none",
4857+ "administrivia": true, "bounces_address": "foo-bounces@example.com", "web_host":
4858+ "example.com"}'}
4859+ headers:
4860+ content-length: ['1583']
4861+ content-type: [application/json; charset=utf-8]
4862+ date: ['Thu, 16 Apr 2015 01:52:04 GMT']
4863+ server: [WSGIServer/0.2 CPython/3.4.3]
4864+ status: {code: 200, message: OK}
4865+- request:
4866+ body: null
4867+ headers:
4868+ accept-encoding: ['gzip, deflate']
4869+ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
4870+ !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
4871+ method: !!python/unicode 'GET'
4872+ uri: http://localhost:9001/3.0/lists/foo@example.com/config
4873+ response:
4874+ body: {string: !!python/unicode '{"reply_to_address": "", "reply_goes_to_list":
4875+ "no_munging", "autoresponse_grace_period": "90d", "scheme": "http", "leave_address":
4876+ "foo-leave@example.com", "posting_address": "foo@example.com", "autoresponse_request_text":
4877+ "", "autoresponse_owner_text": "", "list_name": "foo", "display_name": "Foo",
4878+ "convert_html_to_plaintext": false, "archive_policy": "public", "no_reply_address":
4879+ "noreply@example.com", "autoresponse_postings_text": "", "http_etag": "\"39784619b051edf746bdaa0802a6a1640d973e8c\"",
4880+ "allow_list_posts": true, "posting_pipeline": "default-posting-pipeline",
4881+ "volume": 1, "autorespond_postings": "none", "admin_notify_mchanges": false,
4882+ "default_member_action": "defer", "default_nonmember_action": "hold", "created_at":
4883+ "2015-04-16T01:52:03.759542", "subject_prefix": "[Foo] ", "include_rfc2369_headers":
4884+ true, "post_id": 1, "advertised": true, "join_address": "foo-join@example.com",
4885+ "anonymous_list": false, "last_post_at": null, "owner_address": "foo-owner@example.com",
4886+ "fqdn_listname": "foo@example.com", "digest_last_sent_at": null, "collapse_alternatives":
4887+ true, "welcome_message_uri": "mailman:///welcome.txt", "first_strip_reply_to":
4888+ false, "admin_immed_notify": true, "filter_content": false, "autorespond_requests":
4889+ "none", "mail_host": "example.com", "digest_size_threshold": 30.0, "send_welcome_message":
4890+ true, "acceptable_aliases": [], "next_digest_number": 1, "description": "",
4891+ "request_address": "foo-request@example.com", "autorespond_owner": "none",
4892+ "administrivia": true, "bounces_address": "foo-bounces@example.com", "web_host":
4893+ "example.com"}'}
4894+ headers:
4895+ content-length: ['1583']
4896+ content-type: [application/json; charset=utf-8]
4897+ date: ['Thu, 16 Apr 2015 01:52:04 GMT']
4898+ server: [WSGIServer/0.2 CPython/3.4.3]
4899 status: {code: 200, message: OK}
4900 - request:
4901 body: null
4902@@ -262,17 +262,16 @@
4903 method: !!python/unicode 'GET'
4904 uri: http://localhost:9001/3.0/lists
4905 response:
4906- body: {string: !!python/unicode '{"http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"",
4907- "entries": [{"fqdn_listname": "foo@example.com", "list_id": "foo.example.com",
4908- "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "list_name":
4909- "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume":
4910- 1, "display_name": "Foo", "mail_host": "example.com", "member_count": 0}],
4911- "start": 0, "total_size": 1}'}
4912+ body: {string: !!python/unicode '{"entries": [{"self_link": "http://localhost:9001/3.0/lists/foo.example.com",
4913+ "mail_host": "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"",
4914+ "member_count": 0, "volume": 1, "list_id": "foo.example.com", "fqdn_listname":
4915+ "foo@example.com", "list_name": "foo", "display_name": "Foo"}], "start": 0,
4916+ "total_size": 1, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\""}'}
4917 headers:
4918 content-length: ['399']
4919 content-type: [application/json; charset=utf-8]
4920- date: ['Wed, 15 Apr 2015 20:00:48 GMT']
4921- server: [WSGIServer/0.2 CPython/3.4.2]
4922+ date: ['Thu, 16 Apr 2015 01:52:04 GMT']
4923+ server: [WSGIServer/0.2 CPython/3.4.3]
4924 status: {code: 200, message: OK}
4925 - request:
4926 body: null
4927@@ -283,16 +282,15 @@
4928 method: !!python/unicode 'GET'
4929 uri: http://localhost:9001/3.0/lists/foo.example.com
4930 response:
4931- body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id":
4932- "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"",
4933- "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com",
4934- "volume": 1, "display_name": "Foo", "mail_host": "example.com", "member_count":
4935- 0}'}
4936+ body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/lists/foo.example.com",
4937+ "mail_host": "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"",
4938+ "member_count": 0, "volume": 1, "list_id": "foo.example.com", "fqdn_listname":
4939+ "foo@example.com", "list_name": "foo", "display_name": "Foo"}'}
4940 headers:
4941 content-length: ['294']
4942 content-type: [application/json; charset=utf-8]
4943- date: ['Wed, 15 Apr 2015 20:00:48 GMT']
4944- server: [WSGIServer/0.2 CPython/3.4.2]
4945+ date: ['Thu, 16 Apr 2015 01:52:04 GMT']
4946+ server: [WSGIServer/0.2 CPython/3.4.3]
4947 status: {code: 200, message: OK}
4948 - request:
4949 body: null
4950@@ -306,7 +304,7 @@
4951 body: {string: !!python/unicode ''}
4952 headers:
4953 content-length: ['0']
4954- date: ['Wed, 15 Apr 2015 20:00:48 GMT']
4955- server: [WSGIServer/0.2 CPython/3.4.2]
4956+ date: ['Thu, 16 Apr 2015 01:52:04 GMT']
4957+ server: [WSGIServer/0.2 CPython/3.4.3]
4958 status: {code: 204, message: No Content}
4959 version: 1
4960
4961=== modified file 'src/postorius/tests/fixtures/vcr_cassettes/test_list_members_add_moderator.yaml'
4962--- src/postorius/tests/fixtures/vcr_cassettes/test_list_members_add_moderator.yaml 2015-04-15 20:02:05 +0000
4963+++ src/postorius/tests/fixtures/vcr_cassettes/test_list_members_add_moderator.yaml 2015-04-16 01:57:12 +0000
4964@@ -13,8 +13,8 @@
4965 headers:
4966 content-length: ['33']
4967 content-type: [application/json; charset=utf-8]
4968- date: ['Wed, 15 Apr 2015 20:00:40 GMT']
4969- server: [WSGIServer/0.2 CPython/3.4.2]
4970+ date: ['Thu, 16 Apr 2015 01:51:39 GMT']
4971+ server: [WSGIServer/0.2 CPython/3.4.3]
4972 status: {code: 400, message: Bad Request}
4973 - request:
4974 body: null
4975@@ -26,13 +26,14 @@
4976 uri: http://localhost:9001/3.0/domains/example.com
4977 response:
4978 body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
4979- "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"",
4980- "mail_host": "example.com", "description": null, "url_host": "example.com"}'}
4981+ "base_url": "http://example.com", "mail_host": "example.com", "http_etag":
4982+ "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": null, "url_host":
4983+ "example.com"}'}
4984 headers:
4985 content-length: ['233']
4986 content-type: [application/json; charset=utf-8]
4987- date: ['Wed, 15 Apr 2015 20:00:40 GMT']
4988- server: [WSGIServer/0.2 CPython/3.4.2]
4989+ date: ['Thu, 16 Apr 2015 01:51:39 GMT']
4990+ server: [WSGIServer/0.2 CPython/3.4.3]
4991 status: {code: 200, message: OK}
4992 - request:
4993 body: null
4994@@ -44,13 +45,14 @@
4995 uri: http://localhost:9001/3.0/domains/example.com
4996 response:
4997 body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
4998- "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"",
4999- "mail_host": "example.com", "description": null, "url_host": "example.com"}'}
5000+ "base_url": "http://example.com", "mail_host": "example.com", "http_etag":
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches