~pskoli93/postorius/More_info_Fixes

« back to all changes in this revision

Viewing changes to src/postorius/tests/fixtures/vcr_cassettes/test_list_archival_options.yaml

  • Committer: Florian Fuchs
  • Date: 2015-04-15 20:02:05 UTC
  • Revision ID: flo.fuchs@gmail.com-20150415200205-y2qnj2jn4sk00o95
testing: updated vcrpy yaml files

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
      accept-encoding: ['gzip, deflate']
6
6
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
7
7
      !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
8
 
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
 
8
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
9
9
    method: !!python/unicode 'POST'
10
10
    uri: http://localhost:9001/3.0/domains
11
11
  response:
12
12
    body: {string: !!python/unicode ''}
13
13
    headers:
14
14
      content-length: ['0']
15
 
      date: ['Tue, 14 Apr 2015 14:06:41 GMT']
 
15
      date: ['Wed, 15 Apr 2015 20:00:38 GMT']
16
16
      location: ['http://localhost:9001/3.0/domains/example.com']
17
17
      server: [WSGIServer/0.2 CPython/3.4.2]
18
18
    status: {code: 201, message: Created}
21
21
    headers:
22
22
      accept-encoding: ['gzip, deflate']
23
23
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
24
 
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
25
 
    method: !!python/unicode 'GET'
26
 
    uri: http://localhost:9001/3.0/domains/example.com
27
 
  response:
28
 
    body: {string: !!python/unicode '{"description": null, "base_url": "http://example.com",
29
 
        "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com",
30
 
        "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'}
31
 
    headers:
32
 
      content-length: ['233']
33
 
      content-type: [application/json; charset=utf-8]
34
 
      date: ['Tue, 14 Apr 2015 14:06:41 GMT']
35
 
      server: [WSGIServer/0.2 CPython/3.4.2]
36
 
    status: {code: 200, message: OK}
37
 
- request:
38
 
    body: fqdn_listname=test_list%40example.com
39
 
    headers:
40
 
      accept-encoding: ['gzip, deflate']
41
 
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
42
 
      !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
43
 
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
44
 
    method: !!python/unicode 'POST'
45
 
    uri: http://localhost:9001/3.0/lists
46
 
  response:
47
 
    body: {string: !!python/unicode ''}
48
 
    headers:
49
 
      content-length: ['0']
50
 
      date: ['Tue, 14 Apr 2015 14:06:41 GMT']
51
 
      location: ['http://localhost:9001/3.0/lists/test_list.example.com']
52
 
      server: [WSGIServer/0.2 CPython/3.4.2]
53
 
    status: {code: 201, message: Created}
54
 
- request:
55
 
    body: null
56
 
    headers:
57
 
      accept-encoding: ['gzip, deflate']
58
 
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
59
 
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
60
 
    method: !!python/unicode 'GET'
61
 
    uri: http://localhost:9001/3.0/lists/test_list.example.com
62
 
  response:
63
 
    body: {string: !!python/unicode '{"member_count": 0, "list_name": "test_list",
64
 
        "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", "display_name":
65
 
        "Test_list", "list_id": "test_list.example.com", "fqdn_listname": "test_list@example.com",
66
 
        "volume": 1, "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"",
67
 
        "mail_host": "example.com"}'}
68
 
    headers:
69
 
      content-length: ['324']
70
 
      content-type: [application/json; charset=utf-8]
71
 
      date: ['Tue, 14 Apr 2015 14:06:42 GMT']
72
 
      server: [WSGIServer/0.2 CPython/3.4.2]
73
 
    status: {code: 200, message: OK}
74
 
- request:
75
 
    body: null
76
 
    headers:
77
 
      accept-encoding: ['gzip, deflate']
78
 
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
79
 
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
80
 
    method: !!python/unicode 'GET'
81
 
    uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers
82
 
  response:
83
 
    body: {string: !!python/unicode '{"prototype": true, "http_etag": "\"3dbbbaad592a043938314db0e5249a1ca71d0dc6\"",
84
 
        "mail-archive": true, "mhonarc": true}'}
85
 
    headers:
86
 
      content-length: ['119']
87
 
      content-type: [application/json; charset=utf-8]
88
 
      date: ['Tue, 14 Apr 2015 14:06:42 GMT']
89
 
      server: [WSGIServer/0.2 CPython/3.4.2]
90
 
    status: {code: 200, message: OK}
91
 
- request:
92
 
    body: null
93
 
    headers:
94
 
      accept-encoding: ['gzip, deflate']
95
 
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
96
 
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
97
 
    method: !!python/unicode 'GET'
98
 
    uri: http://localhost:9001/3.0/lists/test_list.example.com
99
 
  response:
100
 
    body: {string: !!python/unicode '{"member_count": 0, "list_name": "test_list",
101
 
        "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", "display_name":
102
 
        "Test_list", "list_id": "test_list.example.com", "fqdn_listname": "test_list@example.com",
103
 
        "volume": 1, "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"",
104
 
        "mail_host": "example.com"}'}
105
 
    headers:
106
 
      content-length: ['324']
107
 
      content-type: [application/json; charset=utf-8]
108
 
      date: ['Tue, 14 Apr 2015 14:06:42 GMT']
109
 
      server: [WSGIServer/0.2 CPython/3.4.2]
110
 
    status: {code: 200, message: OK}
111
 
- request:
112
 
    body: null
113
 
    headers:
114
 
      accept-encoding: ['gzip, deflate']
115
 
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
116
 
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
117
 
    method: !!python/unicode 'DELETE'
118
 
    uri: http://localhost:9001/3.0/lists/test_list@example.com
119
 
  response:
120
 
    body: {string: !!python/unicode ''}
121
 
    headers:
122
 
      content-length: ['0']
123
 
      date: ['Tue, 14 Apr 2015 14:06:42 GMT']
124
 
      server: [WSGIServer/0.2 CPython/3.4.2]
125
 
    status: {code: 204, message: No Content}
126
 
- request:
127
 
    body: mail_host=example.com
128
 
    headers:
129
 
      accept-encoding: ['gzip, deflate']
130
 
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
131
 
      !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
132
 
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
133
 
    method: !!python/unicode 'POST'
134
 
    uri: http://localhost:9001/3.0/domains
135
 
  response:
136
 
    body: {string: !!python/unicode 'Duplicate email host: example.com'}
137
 
    headers:
138
 
      content-length: ['33']
139
 
      content-type: [application/json; charset=utf-8]
140
 
      date: ['Tue, 14 Apr 2015 14:06:42 GMT']
141
 
      server: [WSGIServer/0.2 CPython/3.4.2]
142
 
    status: {code: 400, message: Bad Request}
143
 
- request:
144
 
    body: null
145
 
    headers:
146
 
      accept-encoding: ['gzip, deflate']
147
 
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
148
 
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
149
 
    method: !!python/unicode 'GET'
150
 
    uri: http://localhost:9001/3.0/domains/example.com
151
 
  response:
152
 
    body: {string: !!python/unicode '{"description": null, "base_url": "http://example.com",
153
 
        "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com",
154
 
        "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'}
155
 
    headers:
156
 
      content-length: ['233']
157
 
      content-type: [application/json; charset=utf-8]
158
 
      date: ['Tue, 14 Apr 2015 14:06:42 GMT']
159
 
      server: [WSGIServer/0.2 CPython/3.4.2]
160
 
    status: {code: 200, message: OK}
161
 
- request:
162
 
    body: null
163
 
    headers:
164
 
      accept-encoding: ['gzip, deflate']
165
 
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
166
 
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
167
 
    method: !!python/unicode 'GET'
168
 
    uri: http://localhost:9001/3.0/domains/example.com
169
 
  response:
170
 
    body: {string: !!python/unicode '{"description": null, "base_url": "http://example.com",
171
 
        "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com",
172
 
        "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'}
173
 
    headers:
174
 
      content-length: ['233']
175
 
      content-type: [application/json; charset=utf-8]
176
 
      date: ['Tue, 14 Apr 2015 14:06:42 GMT']
177
 
      server: [WSGIServer/0.2 CPython/3.4.2]
178
 
    status: {code: 200, message: OK}
179
 
- request:
180
 
    body: fqdn_listname=test_list%40example.com
181
 
    headers:
182
 
      accept-encoding: ['gzip, deflate']
183
 
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
184
 
      !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
185
 
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
186
 
    method: !!python/unicode 'POST'
187
 
    uri: http://localhost:9001/3.0/lists
188
 
  response:
189
 
    body: {string: !!python/unicode ''}
190
 
    headers:
191
 
      content-length: ['0']
192
 
      date: ['Tue, 14 Apr 2015 14:06:42 GMT']
193
 
      location: ['http://localhost:9001/3.0/lists/test_list.example.com']
194
 
      server: [WSGIServer/0.2 CPython/3.4.2]
195
 
    status: {code: 201, message: Created}
196
 
- request:
197
 
    body: null
198
 
    headers:
199
 
      accept-encoding: ['gzip, deflate']
200
 
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
201
 
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
202
 
    method: !!python/unicode 'GET'
203
 
    uri: http://localhost:9001/3.0/lists/test_list.example.com
204
 
  response:
205
 
    body: {string: !!python/unicode '{"member_count": 0, "list_name": "test_list",
206
 
        "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", "display_name":
207
 
        "Test_list", "list_id": "test_list.example.com", "fqdn_listname": "test_list@example.com",
208
 
        "volume": 1, "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"",
209
 
        "mail_host": "example.com"}'}
210
 
    headers:
211
 
      content-length: ['324']
212
 
      content-type: [application/json; charset=utf-8]
213
 
      date: ['Tue, 14 Apr 2015 14:06:42 GMT']
214
 
      server: [WSGIServer/0.2 CPython/3.4.2]
215
 
    status: {code: 200, message: OK}
216
 
- request:
217
 
    body: null
218
 
    headers:
219
 
      accept-encoding: ['gzip, deflate']
220
 
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
221
 
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
222
 
    method: !!python/unicode 'GET'
223
 
    uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers
224
 
  response:
225
 
    body: {string: !!python/unicode '{"prototype": true, "http_etag": "\"3dbbbaad592a043938314db0e5249a1ca71d0dc6\"",
226
 
        "mail-archive": true, "mhonarc": true}'}
227
 
    headers:
228
 
      content-length: ['119']
229
 
      content-type: [application/json; charset=utf-8]
230
 
      date: ['Tue, 14 Apr 2015 14:06:42 GMT']
231
 
      server: [WSGIServer/0.2 CPython/3.4.2]
232
 
    status: {code: 200, message: OK}
233
 
- request:
234
 
    body: null
235
 
    headers:
236
 
      accept-encoding: ['gzip, deflate']
237
 
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
238
 
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
239
 
    method: !!python/unicode 'GET'
240
 
    uri: http://localhost:9001/3.0/lists/test_list.example.com
241
 
  response:
242
 
    body: {string: !!python/unicode '{"member_count": 0, "list_name": "test_list",
243
 
        "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", "display_name":
244
 
        "Test_list", "list_id": "test_list.example.com", "fqdn_listname": "test_list@example.com",
245
 
        "volume": 1, "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"",
246
 
        "mail_host": "example.com"}'}
247
 
    headers:
248
 
      content-length: ['324']
249
 
      content-type: [application/json; charset=utf-8]
250
 
      date: ['Tue, 14 Apr 2015 14:06:42 GMT']
251
 
      server: [WSGIServer/0.2 CPython/3.4.2]
252
 
    status: {code: 200, message: OK}
253
 
- request:
254
 
    body: null
255
 
    headers:
256
 
      accept-encoding: ['gzip, deflate']
257
 
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
258
 
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
259
 
    method: !!python/unicode 'DELETE'
260
 
    uri: http://localhost:9001/3.0/lists/test_list@example.com
261
 
  response:
262
 
    body: {string: !!python/unicode ''}
263
 
    headers:
264
 
      content-length: ['0']
265
 
      date: ['Tue, 14 Apr 2015 14:06:42 GMT']
266
 
      server: [WSGIServer/0.2 CPython/3.4.2]
267
 
    status: {code: 204, message: No Content}
268
 
- request:
269
 
    body: mail_host=example.com
270
 
    headers:
271
 
      accept-encoding: ['gzip, deflate']
272
 
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
273
 
      !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
274
 
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
275
 
    method: !!python/unicode 'POST'
276
 
    uri: http://localhost:9001/3.0/domains
277
 
  response:
278
 
    body: {string: !!python/unicode 'Duplicate email host: example.com'}
279
 
    headers:
280
 
      content-length: ['33']
281
 
      content-type: [application/json; charset=utf-8]
282
 
      date: ['Tue, 14 Apr 2015 14:06:42 GMT']
283
 
      server: [WSGIServer/0.2 CPython/3.4.2]
284
 
    status: {code: 400, message: Bad Request}
285
 
- request:
286
 
    body: null
287
 
    headers:
288
 
      accept-encoding: ['gzip, deflate']
289
 
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
290
 
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
291
 
    method: !!python/unicode 'GET'
292
 
    uri: http://localhost:9001/3.0/domains/example.com
293
 
  response:
294
 
    body: {string: !!python/unicode '{"description": null, "base_url": "http://example.com",
295
 
        "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com",
296
 
        "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'}
297
 
    headers:
298
 
      content-length: ['233']
299
 
      content-type: [application/json; charset=utf-8]
300
 
      date: ['Tue, 14 Apr 2015 14:06:42 GMT']
301
 
      server: [WSGIServer/0.2 CPython/3.4.2]
302
 
    status: {code: 200, message: OK}
303
 
- request:
304
 
    body: null
305
 
    headers:
306
 
      accept-encoding: ['gzip, deflate']
307
 
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
308
 
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
309
 
    method: !!python/unicode 'GET'
310
 
    uri: http://localhost:9001/3.0/domains/example.com
311
 
  response:
312
 
    body: {string: !!python/unicode '{"description": null, "base_url": "http://example.com",
313
 
        "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com",
314
 
        "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'}
315
 
    headers:
316
 
      content-length: ['233']
317
 
      content-type: [application/json; charset=utf-8]
318
 
      date: ['Tue, 14 Apr 2015 14:06:42 GMT']
319
 
      server: [WSGIServer/0.2 CPython/3.4.2]
320
 
    status: {code: 200, message: OK}
321
 
- request:
322
 
    body: fqdn_listname=test_list%40example.com
323
 
    headers:
324
 
      accept-encoding: ['gzip, deflate']
325
 
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
326
 
      !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
327
 
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
328
 
    method: !!python/unicode 'POST'
329
 
    uri: http://localhost:9001/3.0/lists
330
 
  response:
331
 
    body: {string: !!python/unicode ''}
332
 
    headers:
333
 
      content-length: ['0']
334
 
      date: ['Tue, 14 Apr 2015 14:06:42 GMT']
335
 
      location: ['http://localhost:9001/3.0/lists/test_list.example.com']
336
 
      server: [WSGIServer/0.2 CPython/3.4.2]
337
 
    status: {code: 201, message: Created}
338
 
- request:
339
 
    body: null
340
 
    headers:
341
 
      accept-encoding: ['gzip, deflate']
342
 
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
343
 
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
344
 
    method: !!python/unicode 'GET'
345
 
    uri: http://localhost:9001/3.0/lists/test_list.example.com
346
 
  response:
347
 
    body: {string: !!python/unicode '{"member_count": 0, "list_name": "test_list",
348
 
        "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", "display_name":
349
 
        "Test_list", "list_id": "test_list.example.com", "fqdn_listname": "test_list@example.com",
350
 
        "volume": 1, "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"",
351
 
        "mail_host": "example.com"}'}
352
 
    headers:
353
 
      content-length: ['324']
354
 
      content-type: [application/json; charset=utf-8]
355
 
      date: ['Tue, 14 Apr 2015 14:06:43 GMT']
356
 
      server: [WSGIServer/0.2 CPython/3.4.2]
357
 
    status: {code: 200, message: OK}
358
 
- request:
359
 
    body: null
360
 
    headers:
361
 
      accept-encoding: ['gzip, deflate']
362
 
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
363
 
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
364
 
    method: !!python/unicode 'GET'
365
 
    uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers
366
 
  response:
367
 
    body: {string: !!python/unicode '{"prototype": true, "http_etag": "\"3dbbbaad592a043938314db0e5249a1ca71d0dc6\"",
368
 
        "mail-archive": true, "mhonarc": true}'}
369
 
    headers:
370
 
      content-length: ['119']
371
 
      content-type: [application/json; charset=utf-8]
372
 
      date: ['Tue, 14 Apr 2015 14:06:43 GMT']
373
 
      server: [WSGIServer/0.2 CPython/3.4.2]
374
 
    status: {code: 200, message: OK}
375
 
- request:
376
 
    body: null
377
 
    headers:
378
 
      accept-encoding: ['gzip, deflate']
379
 
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
380
 
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
381
 
    method: !!python/unicode 'DELETE'
382
 
    uri: http://localhost:9001/3.0/lists/test_list@example.com
383
 
  response:
384
 
    body: {string: !!python/unicode ''}
385
 
    headers:
386
 
      content-length: ['0']
387
 
      date: ['Tue, 14 Apr 2015 14:06:43 GMT']
 
24
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
 
25
    method: !!python/unicode 'GET'
 
26
    uri: http://localhost:9001/3.0/domains/example.com
 
27
  response:
 
28
    body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
 
29
        "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"",
 
30
        "mail_host": "example.com", "description": null, "url_host": "example.com"}'}
 
31
    headers:
 
32
      content-length: ['233']
 
33
      content-type: [application/json; charset=utf-8]
 
34
      date: ['Wed, 15 Apr 2015 20:00:38 GMT']
 
35
      server: [WSGIServer/0.2 CPython/3.4.2]
 
36
    status: {code: 200, message: OK}
 
37
- request:
 
38
    body: fqdn_listname=test_list%40example.com
 
39
    headers:
 
40
      accept-encoding: ['gzip, deflate']
 
41
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
 
42
      !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
 
43
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
 
44
    method: !!python/unicode 'POST'
 
45
    uri: http://localhost:9001/3.0/lists
 
46
  response:
 
47
    body: {string: !!python/unicode ''}
 
48
    headers:
 
49
      content-length: ['0']
 
50
      date: ['Wed, 15 Apr 2015 20:00:38 GMT']
 
51
      location: ['http://localhost:9001/3.0/lists/test_list.example.com']
 
52
      server: [WSGIServer/0.2 CPython/3.4.2]
 
53
    status: {code: 201, message: Created}
 
54
- request:
 
55
    body: null
 
56
    headers:
 
57
      accept-encoding: ['gzip, deflate']
 
58
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
 
59
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
 
60
    method: !!python/unicode 'GET'
 
61
    uri: http://localhost:9001/3.0/lists/test_list.example.com
 
62
  response:
 
63
    body: {string: !!python/unicode '{"fqdn_listname": "test_list@example.com", "list_id":
 
64
        "test_list.example.com", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"",
 
65
        "list_name": "test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com",
 
66
        "volume": 1, "display_name": "Test_list", "mail_host": "example.com", "member_count":
 
67
        0}'}
 
68
    headers:
 
69
      content-length: ['324']
 
70
      content-type: [application/json; charset=utf-8]
 
71
      date: ['Wed, 15 Apr 2015 20:00:38 GMT']
 
72
      server: [WSGIServer/0.2 CPython/3.4.2]
 
73
    status: {code: 200, message: OK}
 
74
- request:
 
75
    body: null
 
76
    headers:
 
77
      accept-encoding: ['gzip, deflate']
 
78
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
 
79
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
 
80
    method: !!python/unicode 'GET'
 
81
    uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers
 
82
  response:
 
83
    body: {string: !!python/unicode '{"http_etag": "\"dfd159ec866aff2f484eb6399b59057ba112d3e5\"",
 
84
        "prototype": false, "mail-archive": true, "mhonarc": true}'}
 
85
    headers:
 
86
      content-length: ['120']
 
87
      content-type: [application/json; charset=utf-8]
 
88
      date: ['Wed, 15 Apr 2015 20:00:38 GMT']
 
89
      server: [WSGIServer/0.2 CPython/3.4.2]
 
90
    status: {code: 200, message: OK}
 
91
- request:
 
92
    body: null
 
93
    headers:
 
94
      accept-encoding: ['gzip, deflate']
 
95
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
 
96
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
 
97
    method: !!python/unicode 'GET'
 
98
    uri: http://localhost:9001/3.0/lists/test_list.example.com
 
99
  response:
 
100
    body: {string: !!python/unicode '{"fqdn_listname": "test_list@example.com", "list_id":
 
101
        "test_list.example.com", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"",
 
102
        "list_name": "test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com",
 
103
        "volume": 1, "display_name": "Test_list", "mail_host": "example.com", "member_count":
 
104
        0}'}
 
105
    headers:
 
106
      content-length: ['324']
 
107
      content-type: [application/json; charset=utf-8]
 
108
      date: ['Wed, 15 Apr 2015 20:00:38 GMT']
 
109
      server: [WSGIServer/0.2 CPython/3.4.2]
 
110
    status: {code: 200, message: OK}
 
111
- request:
 
112
    body: null
 
113
    headers:
 
114
      accept-encoding: ['gzip, deflate']
 
115
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
 
116
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
 
117
    method: !!python/unicode 'DELETE'
 
118
    uri: http://localhost:9001/3.0/lists/test_list@example.com
 
119
  response:
 
120
    body: {string: !!python/unicode ''}
 
121
    headers:
 
122
      content-length: ['0']
 
123
      date: ['Wed, 15 Apr 2015 20:00:38 GMT']
 
124
      server: [WSGIServer/0.2 CPython/3.4.2]
 
125
    status: {code: 204, message: No Content}
 
126
- request:
 
127
    body: mail_host=example.com
 
128
    headers:
 
129
      accept-encoding: ['gzip, deflate']
 
130
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
 
131
      !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
 
132
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
 
133
    method: !!python/unicode 'POST'
 
134
    uri: http://localhost:9001/3.0/domains
 
135
  response:
 
136
    body: {string: !!python/unicode 'Duplicate email host: example.com'}
 
137
    headers:
 
138
      content-length: ['33']
 
139
      content-type: [application/json; charset=utf-8]
 
140
      date: ['Wed, 15 Apr 2015 20:00:38 GMT']
 
141
      server: [WSGIServer/0.2 CPython/3.4.2]
 
142
    status: {code: 400, message: Bad Request}
 
143
- request:
 
144
    body: null
 
145
    headers:
 
146
      accept-encoding: ['gzip, deflate']
 
147
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
 
148
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
 
149
    method: !!python/unicode 'GET'
 
150
    uri: http://localhost:9001/3.0/domains/example.com
 
151
  response:
 
152
    body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
 
153
        "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"",
 
154
        "mail_host": "example.com", "description": null, "url_host": "example.com"}'}
 
155
    headers:
 
156
      content-length: ['233']
 
157
      content-type: [application/json; charset=utf-8]
 
158
      date: ['Wed, 15 Apr 2015 20:00:38 GMT']
 
159
      server: [WSGIServer/0.2 CPython/3.4.2]
 
160
    status: {code: 200, message: OK}
 
161
- request:
 
162
    body: null
 
163
    headers:
 
164
      accept-encoding: ['gzip, deflate']
 
165
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
 
166
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
 
167
    method: !!python/unicode 'GET'
 
168
    uri: http://localhost:9001/3.0/domains/example.com
 
169
  response:
 
170
    body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
 
171
        "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"",
 
172
        "mail_host": "example.com", "description": null, "url_host": "example.com"}'}
 
173
    headers:
 
174
      content-length: ['233']
 
175
      content-type: [application/json; charset=utf-8]
 
176
      date: ['Wed, 15 Apr 2015 20:00:38 GMT']
 
177
      server: [WSGIServer/0.2 CPython/3.4.2]
 
178
    status: {code: 200, message: OK}
 
179
- request:
 
180
    body: fqdn_listname=test_list%40example.com
 
181
    headers:
 
182
      accept-encoding: ['gzip, deflate']
 
183
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
 
184
      !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
 
185
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
 
186
    method: !!python/unicode 'POST'
 
187
    uri: http://localhost:9001/3.0/lists
 
188
  response:
 
189
    body: {string: !!python/unicode ''}
 
190
    headers:
 
191
      content-length: ['0']
 
192
      date: ['Wed, 15 Apr 2015 20:00:38 GMT']
 
193
      location: ['http://localhost:9001/3.0/lists/test_list.example.com']
 
194
      server: [WSGIServer/0.2 CPython/3.4.2]
 
195
    status: {code: 201, message: Created}
 
196
- request:
 
197
    body: null
 
198
    headers:
 
199
      accept-encoding: ['gzip, deflate']
 
200
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
 
201
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
 
202
    method: !!python/unicode 'GET'
 
203
    uri: http://localhost:9001/3.0/lists/test_list.example.com
 
204
  response:
 
205
    body: {string: !!python/unicode '{"fqdn_listname": "test_list@example.com", "list_id":
 
206
        "test_list.example.com", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"",
 
207
        "list_name": "test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com",
 
208
        "volume": 1, "display_name": "Test_list", "mail_host": "example.com", "member_count":
 
209
        0}'}
 
210
    headers:
 
211
      content-length: ['324']
 
212
      content-type: [application/json; charset=utf-8]
 
213
      date: ['Wed, 15 Apr 2015 20:00:38 GMT']
 
214
      server: [WSGIServer/0.2 CPython/3.4.2]
 
215
    status: {code: 200, message: OK}
 
216
- request:
 
217
    body: null
 
218
    headers:
 
219
      accept-encoding: ['gzip, deflate']
 
220
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
 
221
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
 
222
    method: !!python/unicode 'GET'
 
223
    uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers
 
224
  response:
 
225
    body: {string: !!python/unicode '{"http_etag": "\"dfd159ec866aff2f484eb6399b59057ba112d3e5\"",
 
226
        "prototype": false, "mail-archive": true, "mhonarc": true}'}
 
227
    headers:
 
228
      content-length: ['120']
 
229
      content-type: [application/json; charset=utf-8]
 
230
      date: ['Wed, 15 Apr 2015 20:00:38 GMT']
 
231
      server: [WSGIServer/0.2 CPython/3.4.2]
 
232
    status: {code: 200, message: OK}
 
233
- request:
 
234
    body: null
 
235
    headers:
 
236
      accept-encoding: ['gzip, deflate']
 
237
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
 
238
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
 
239
    method: !!python/unicode 'GET'
 
240
    uri: http://localhost:9001/3.0/lists/test_list.example.com
 
241
  response:
 
242
    body: {string: !!python/unicode '{"fqdn_listname": "test_list@example.com", "list_id":
 
243
        "test_list.example.com", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"",
 
244
        "list_name": "test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com",
 
245
        "volume": 1, "display_name": "Test_list", "mail_host": "example.com", "member_count":
 
246
        0}'}
 
247
    headers:
 
248
      content-length: ['324']
 
249
      content-type: [application/json; charset=utf-8]
 
250
      date: ['Wed, 15 Apr 2015 20:00:38 GMT']
 
251
      server: [WSGIServer/0.2 CPython/3.4.2]
 
252
    status: {code: 200, message: OK}
 
253
- request:
 
254
    body: null
 
255
    headers:
 
256
      accept-encoding: ['gzip, deflate']
 
257
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
 
258
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
 
259
    method: !!python/unicode 'DELETE'
 
260
    uri: http://localhost:9001/3.0/lists/test_list@example.com
 
261
  response:
 
262
    body: {string: !!python/unicode ''}
 
263
    headers:
 
264
      content-length: ['0']
 
265
      date: ['Wed, 15 Apr 2015 20:00:38 GMT']
 
266
      server: [WSGIServer/0.2 CPython/3.4.2]
 
267
    status: {code: 204, message: No Content}
 
268
- request:
 
269
    body: mail_host=example.com
 
270
    headers:
 
271
      accept-encoding: ['gzip, deflate']
 
272
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
 
273
      !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
 
274
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
 
275
    method: !!python/unicode 'POST'
 
276
    uri: http://localhost:9001/3.0/domains
 
277
  response:
 
278
    body: {string: !!python/unicode 'Duplicate email host: example.com'}
 
279
    headers:
 
280
      content-length: ['33']
 
281
      content-type: [application/json; charset=utf-8]
 
282
      date: ['Wed, 15 Apr 2015 20:00:39 GMT']
 
283
      server: [WSGIServer/0.2 CPython/3.4.2]
 
284
    status: {code: 400, message: Bad Request}
 
285
- request:
 
286
    body: null
 
287
    headers:
 
288
      accept-encoding: ['gzip, deflate']
 
289
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
 
290
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
 
291
    method: !!python/unicode 'GET'
 
292
    uri: http://localhost:9001/3.0/domains/example.com
 
293
  response:
 
294
    body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
 
295
        "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"",
 
296
        "mail_host": "example.com", "description": null, "url_host": "example.com"}'}
 
297
    headers:
 
298
      content-length: ['233']
 
299
      content-type: [application/json; charset=utf-8]
 
300
      date: ['Wed, 15 Apr 2015 20:00:39 GMT']
 
301
      server: [WSGIServer/0.2 CPython/3.4.2]
 
302
    status: {code: 200, message: OK}
 
303
- request:
 
304
    body: null
 
305
    headers:
 
306
      accept-encoding: ['gzip, deflate']
 
307
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
 
308
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
 
309
    method: !!python/unicode 'GET'
 
310
    uri: http://localhost:9001/3.0/domains/example.com
 
311
  response:
 
312
    body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
 
313
        "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"",
 
314
        "mail_host": "example.com", "description": null, "url_host": "example.com"}'}
 
315
    headers:
 
316
      content-length: ['233']
 
317
      content-type: [application/json; charset=utf-8]
 
318
      date: ['Wed, 15 Apr 2015 20:00:39 GMT']
 
319
      server: [WSGIServer/0.2 CPython/3.4.2]
 
320
    status: {code: 200, message: OK}
 
321
- request:
 
322
    body: fqdn_listname=test_list%40example.com
 
323
    headers:
 
324
      accept-encoding: ['gzip, deflate']
 
325
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
 
326
      !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
 
327
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
 
328
    method: !!python/unicode 'POST'
 
329
    uri: http://localhost:9001/3.0/lists
 
330
  response:
 
331
    body: {string: !!python/unicode ''}
 
332
    headers:
 
333
      content-length: ['0']
 
334
      date: ['Wed, 15 Apr 2015 20:00:39 GMT']
 
335
      location: ['http://localhost:9001/3.0/lists/test_list.example.com']
 
336
      server: [WSGIServer/0.2 CPython/3.4.2]
 
337
    status: {code: 201, message: Created}
 
338
- request:
 
339
    body: null
 
340
    headers:
 
341
      accept-encoding: ['gzip, deflate']
 
342
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
 
343
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
 
344
    method: !!python/unicode 'GET'
 
345
    uri: http://localhost:9001/3.0/lists/test_list.example.com
 
346
  response:
 
347
    body: {string: !!python/unicode '{"fqdn_listname": "test_list@example.com", "list_id":
 
348
        "test_list.example.com", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"",
 
349
        "list_name": "test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com",
 
350
        "volume": 1, "display_name": "Test_list", "mail_host": "example.com", "member_count":
 
351
        0}'}
 
352
    headers:
 
353
      content-length: ['324']
 
354
      content-type: [application/json; charset=utf-8]
 
355
      date: ['Wed, 15 Apr 2015 20:00:39 GMT']
 
356
      server: [WSGIServer/0.2 CPython/3.4.2]
 
357
    status: {code: 200, message: OK}
 
358
- request:
 
359
    body: null
 
360
    headers:
 
361
      accept-encoding: ['gzip, deflate']
 
362
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
 
363
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
 
364
    method: !!python/unicode 'GET'
 
365
    uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers
 
366
  response:
 
367
    body: {string: !!python/unicode '{"http_etag": "\"dfd159ec866aff2f484eb6399b59057ba112d3e5\"",
 
368
        "prototype": false, "mail-archive": true, "mhonarc": true}'}
 
369
    headers:
 
370
      content-length: ['120']
 
371
      content-type: [application/json; charset=utf-8]
 
372
      date: ['Wed, 15 Apr 2015 20:00:39 GMT']
 
373
      server: [WSGIServer/0.2 CPython/3.4.2]
 
374
    status: {code: 200, message: OK}
 
375
- request:
 
376
    body: null
 
377
    headers:
 
378
      accept-encoding: ['gzip, deflate']
 
379
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
 
380
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2']
 
381
    method: !!python/unicode 'DELETE'
 
382
    uri: http://localhost:9001/3.0/lists/test_list@example.com
 
383
  response:
 
384
    body: {string: !!python/unicode ''}
 
385
    headers:
 
386
      content-length: ['0']
 
387
      date: ['Wed, 15 Apr 2015 20:00:39 GMT']
388
388
      server: [WSGIServer/0.2 CPython/3.4.2]
389
389
    status: {code: 204, message: No Content}
390
390
version: 1