Newer
Older
postorius / src / postorius / tests / fixtures / vcr_cassettes / test_list_archival_options.yaml
interactions:
- request:
    body: mail_host=example.com
    headers:
      accept-encoding: ['gzip, deflate']
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
      !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
    method: !!python/unicode 'POST'
    uri: http://localhost:9001/3.0/domains
  response:
    body: {string: !!python/unicode ''}
    headers:
      content-length: ['0']
      date: ['Tue, 14 Apr 2015 14:06:41 GMT']
      location: ['http://localhost:9001/3.0/domains/example.com']
      server: [WSGIServer/0.2 CPython/3.4.2]
    status: {code: 201, message: Created}
- request:
    body: null
    headers:
      accept-encoding: ['gzip, deflate']
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
    method: !!python/unicode 'GET'
    uri: http://localhost:9001/3.0/domains/example.com
  response:
    body: {string: !!python/unicode '{"description": null, "base_url": "http://example.com",
        "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com",
        "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'}
    headers:
      content-length: ['233']
      content-type: [application/json; charset=utf-8]
      date: ['Tue, 14 Apr 2015 14:06:41 GMT']
      server: [WSGIServer/0.2 CPython/3.4.2]
    status: {code: 200, message: OK}
- request:
    body: fqdn_listname=test_list%40example.com
    headers:
      accept-encoding: ['gzip, deflate']
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
      !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
    method: !!python/unicode 'POST'
    uri: http://localhost:9001/3.0/lists
  response:
    body: {string: !!python/unicode ''}
    headers:
      content-length: ['0']
      date: ['Tue, 14 Apr 2015 14:06:41 GMT']
      location: ['http://localhost:9001/3.0/lists/test_list.example.com']
      server: [WSGIServer/0.2 CPython/3.4.2]
    status: {code: 201, message: Created}
- request:
    body: null
    headers:
      accept-encoding: ['gzip, deflate']
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
    method: !!python/unicode 'GET'
    uri: http://localhost:9001/3.0/lists/test_list.example.com
  response:
    body: {string: !!python/unicode '{"member_count": 0, "list_name": "test_list",
        "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", "display_name":
        "Test_list", "list_id": "test_list.example.com", "fqdn_listname": "test_list@example.com",
        "volume": 1, "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"",
        "mail_host": "example.com"}'}
    headers:
      content-length: ['324']
      content-type: [application/json; charset=utf-8]
      date: ['Tue, 14 Apr 2015 14:06:42 GMT']
      server: [WSGIServer/0.2 CPython/3.4.2]
    status: {code: 200, message: OK}
- request:
    body: null
    headers:
      accept-encoding: ['gzip, deflate']
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
    method: !!python/unicode 'GET'
    uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers
  response:
    body: {string: !!python/unicode '{"prototype": true, "http_etag": "\"3dbbbaad592a043938314db0e5249a1ca71d0dc6\"",
        "mail-archive": true, "mhonarc": true}'}
    headers:
      content-length: ['119']
      content-type: [application/json; charset=utf-8]
      date: ['Tue, 14 Apr 2015 14:06:42 GMT']
      server: [WSGIServer/0.2 CPython/3.4.2]
    status: {code: 200, message: OK}
- request:
    body: null
    headers:
      accept-encoding: ['gzip, deflate']
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
    method: !!python/unicode 'GET'
    uri: http://localhost:9001/3.0/lists/test_list.example.com
  response:
    body: {string: !!python/unicode '{"member_count": 0, "list_name": "test_list",
        "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", "display_name":
        "Test_list", "list_id": "test_list.example.com", "fqdn_listname": "test_list@example.com",
        "volume": 1, "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"",
        "mail_host": "example.com"}'}
    headers:
      content-length: ['324']
      content-type: [application/json; charset=utf-8]
      date: ['Tue, 14 Apr 2015 14:06:42 GMT']
      server: [WSGIServer/0.2 CPython/3.4.2]
    status: {code: 200, message: OK}
- request:
    body: null
    headers:
      accept-encoding: ['gzip, deflate']
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
    method: !!python/unicode 'DELETE'
    uri: http://localhost:9001/3.0/lists/test_list@example.com
  response:
    body: {string: !!python/unicode ''}
    headers:
      content-length: ['0']
      date: ['Tue, 14 Apr 2015 14:06:42 GMT']
      server: [WSGIServer/0.2 CPython/3.4.2]
    status: {code: 204, message: No Content}
- request:
    body: mail_host=example.com
    headers:
      accept-encoding: ['gzip, deflate']
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
      !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
    method: !!python/unicode 'POST'
    uri: http://localhost:9001/3.0/domains
  response:
    body: {string: !!python/unicode 'Duplicate email host: example.com'}
    headers:
      content-length: ['33']
      content-type: [application/json; charset=utf-8]
      date: ['Tue, 14 Apr 2015 14:06:42 GMT']
      server: [WSGIServer/0.2 CPython/3.4.2]
    status: {code: 400, message: Bad Request}
- request:
    body: null
    headers:
      accept-encoding: ['gzip, deflate']
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
    method: !!python/unicode 'GET'
    uri: http://localhost:9001/3.0/domains/example.com
  response:
    body: {string: !!python/unicode '{"description": null, "base_url": "http://example.com",
        "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com",
        "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'}
    headers:
      content-length: ['233']
      content-type: [application/json; charset=utf-8]
      date: ['Tue, 14 Apr 2015 14:06:42 GMT']
      server: [WSGIServer/0.2 CPython/3.4.2]
    status: {code: 200, message: OK}
- request:
    body: null
    headers:
      accept-encoding: ['gzip, deflate']
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
    method: !!python/unicode 'GET'
    uri: http://localhost:9001/3.0/domains/example.com
  response:
    body: {string: !!python/unicode '{"description": null, "base_url": "http://example.com",
        "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com",
        "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'}
    headers:
      content-length: ['233']
      content-type: [application/json; charset=utf-8]
      date: ['Tue, 14 Apr 2015 14:06:42 GMT']
      server: [WSGIServer/0.2 CPython/3.4.2]
    status: {code: 200, message: OK}
- request:
    body: fqdn_listname=test_list%40example.com
    headers:
      accept-encoding: ['gzip, deflate']
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
      !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
    method: !!python/unicode 'POST'
    uri: http://localhost:9001/3.0/lists
  response:
    body: {string: !!python/unicode ''}
    headers:
      content-length: ['0']
      date: ['Tue, 14 Apr 2015 14:06:42 GMT']
      location: ['http://localhost:9001/3.0/lists/test_list.example.com']
      server: [WSGIServer/0.2 CPython/3.4.2]
    status: {code: 201, message: Created}
- request:
    body: null
    headers:
      accept-encoding: ['gzip, deflate']
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
    method: !!python/unicode 'GET'
    uri: http://localhost:9001/3.0/lists/test_list.example.com
  response:
    body: {string: !!python/unicode '{"member_count": 0, "list_name": "test_list",
        "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", "display_name":
        "Test_list", "list_id": "test_list.example.com", "fqdn_listname": "test_list@example.com",
        "volume": 1, "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"",
        "mail_host": "example.com"}'}
    headers:
      content-length: ['324']
      content-type: [application/json; charset=utf-8]
      date: ['Tue, 14 Apr 2015 14:06:42 GMT']
      server: [WSGIServer/0.2 CPython/3.4.2]
    status: {code: 200, message: OK}
- request:
    body: null
    headers:
      accept-encoding: ['gzip, deflate']
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
    method: !!python/unicode 'GET'
    uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers
  response:
    body: {string: !!python/unicode '{"prototype": true, "http_etag": "\"3dbbbaad592a043938314db0e5249a1ca71d0dc6\"",
        "mail-archive": true, "mhonarc": true}'}
    headers:
      content-length: ['119']
      content-type: [application/json; charset=utf-8]
      date: ['Tue, 14 Apr 2015 14:06:42 GMT']
      server: [WSGIServer/0.2 CPython/3.4.2]
    status: {code: 200, message: OK}
- request:
    body: null
    headers:
      accept-encoding: ['gzip, deflate']
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
    method: !!python/unicode 'GET'
    uri: http://localhost:9001/3.0/lists/test_list.example.com
  response:
    body: {string: !!python/unicode '{"member_count": 0, "list_name": "test_list",
        "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", "display_name":
        "Test_list", "list_id": "test_list.example.com", "fqdn_listname": "test_list@example.com",
        "volume": 1, "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"",
        "mail_host": "example.com"}'}
    headers:
      content-length: ['324']
      content-type: [application/json; charset=utf-8]
      date: ['Tue, 14 Apr 2015 14:06:42 GMT']
      server: [WSGIServer/0.2 CPython/3.4.2]
    status: {code: 200, message: OK}
- request:
    body: null
    headers:
      accept-encoding: ['gzip, deflate']
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
    method: !!python/unicode 'DELETE'
    uri: http://localhost:9001/3.0/lists/test_list@example.com
  response:
    body: {string: !!python/unicode ''}
    headers:
      content-length: ['0']
      date: ['Tue, 14 Apr 2015 14:06:42 GMT']
      server: [WSGIServer/0.2 CPython/3.4.2]
    status: {code: 204, message: No Content}
- request:
    body: mail_host=example.com
    headers:
      accept-encoding: ['gzip, deflate']
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
      !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
    method: !!python/unicode 'POST'
    uri: http://localhost:9001/3.0/domains
  response:
    body: {string: !!python/unicode 'Duplicate email host: example.com'}
    headers:
      content-length: ['33']
      content-type: [application/json; charset=utf-8]
      date: ['Tue, 14 Apr 2015 14:06:42 GMT']
      server: [WSGIServer/0.2 CPython/3.4.2]
    status: {code: 400, message: Bad Request}
- request:
    body: null
    headers:
      accept-encoding: ['gzip, deflate']
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
    method: !!python/unicode 'GET'
    uri: http://localhost:9001/3.0/domains/example.com
  response:
    body: {string: !!python/unicode '{"description": null, "base_url": "http://example.com",
        "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com",
        "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'}
    headers:
      content-length: ['233']
      content-type: [application/json; charset=utf-8]
      date: ['Tue, 14 Apr 2015 14:06:42 GMT']
      server: [WSGIServer/0.2 CPython/3.4.2]
    status: {code: 200, message: OK}
- request:
    body: null
    headers:
      accept-encoding: ['gzip, deflate']
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
    method: !!python/unicode 'GET'
    uri: http://localhost:9001/3.0/domains/example.com
  response:
    body: {string: !!python/unicode '{"description": null, "base_url": "http://example.com",
        "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com",
        "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'}
    headers:
      content-length: ['233']
      content-type: [application/json; charset=utf-8]
      date: ['Tue, 14 Apr 2015 14:06:42 GMT']
      server: [WSGIServer/0.2 CPython/3.4.2]
    status: {code: 200, message: OK}
- request:
    body: fqdn_listname=test_list%40example.com
    headers:
      accept-encoding: ['gzip, deflate']
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
      !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
    method: !!python/unicode 'POST'
    uri: http://localhost:9001/3.0/lists
  response:
    body: {string: !!python/unicode ''}
    headers:
      content-length: ['0']
      date: ['Tue, 14 Apr 2015 14:06:42 GMT']
      location: ['http://localhost:9001/3.0/lists/test_list.example.com']
      server: [WSGIServer/0.2 CPython/3.4.2]
    status: {code: 201, message: Created}
- request:
    body: null
    headers:
      accept-encoding: ['gzip, deflate']
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
    method: !!python/unicode 'GET'
    uri: http://localhost:9001/3.0/lists/test_list.example.com
  response:
    body: {string: !!python/unicode '{"member_count": 0, "list_name": "test_list",
        "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", "display_name":
        "Test_list", "list_id": "test_list.example.com", "fqdn_listname": "test_list@example.com",
        "volume": 1, "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"",
        "mail_host": "example.com"}'}
    headers:
      content-length: ['324']
      content-type: [application/json; charset=utf-8]
      date: ['Tue, 14 Apr 2015 14:06:43 GMT']
      server: [WSGIServer/0.2 CPython/3.4.2]
    status: {code: 200, message: OK}
- request:
    body: null
    headers:
      accept-encoding: ['gzip, deflate']
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
    method: !!python/unicode 'GET'
    uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers
  response:
    body: {string: !!python/unicode '{"prototype": true, "http_etag": "\"3dbbbaad592a043938314db0e5249a1ca71d0dc6\"",
        "mail-archive": true, "mhonarc": true}'}
    headers:
      content-length: ['119']
      content-type: [application/json; charset=utf-8]
      date: ['Tue, 14 Apr 2015 14:06:43 GMT']
      server: [WSGIServer/0.2 CPython/3.4.2]
    status: {code: 200, message: OK}
- request:
    body: null
    headers:
      accept-encoding: ['gzip, deflate']
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
      !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1']
    method: !!python/unicode 'DELETE'
    uri: http://localhost:9001/3.0/lists/test_list@example.com
  response:
    body: {string: !!python/unicode ''}
    headers:
      content-length: ['0']
      date: ['Tue, 14 Apr 2015 14:06:43 GMT']
      server: [WSGIServer/0.2 CPython/3.4.2]
    status: {code: 204, message: No Content}
version: 1