Newer
Older
postorius / src / postorius / tests / fixtures / vcr_cassettes / test_list_metrics.yaml
interactions:
- request:
    body: mail_host=example.org
    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:50 GMT']
      location: ['http://localhost:9001/3.0/domains/example.org']
      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.org
  response:
    body: {string: !!python/unicode '{"description": null, "base_url": "http://example.org",
        "url_host": "example.org", "self_link": "http://localhost:9001/3.0/domains/example.org",
        "mail_host": "example.org", "http_etag": "\"f8247f55d4a0a1d987c89cc238bb0dbc2c0e1089\""}'}
    headers:
      content-length: ['233']
      content-type: [application/json; charset=utf-8]
      date: ['Tue, 14 Apr 2015 14:06:50 GMT']
      server: [WSGIServer/0.2 CPython/3.4.2]
    status: {code: 200, message: OK}
- request:
    body: fqdn_listname=test%40example.org
    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:50 GMT']
      location: ['http://localhost:9001/3.0/lists/test.example.org']
      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@example.org
  response:
    body: {string: !!python/unicode '{"member_count": 0, "list_name": "test", "self_link":
        "http://localhost:9001/3.0/lists/test.example.org", "display_name": "Test",
        "list_id": "test.example.org", "fqdn_listname": "test@example.org", "volume":
        1, "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\"", "mail_host":
        "example.org"}'}
    headers:
      content-length: ['299']
      content-type: [application/json; charset=utf-8]
      date: ['Tue, 14 Apr 2015 14:06:50 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@example.org
  response:
    body: {string: !!python/unicode '{"member_count": 0, "list_name": "test", "self_link":
        "http://localhost:9001/3.0/lists/test.example.org", "display_name": "Test",
        "list_id": "test.example.org", "fqdn_listname": "test@example.org", "volume":
        1, "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\"", "mail_host":
        "example.org"}'}
    headers:
      content-length: ['299']
      content-type: [application/json; charset=utf-8]
      date: ['Tue, 14 Apr 2015 14:06:50 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.example.org/roster/owner
  response:
    body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"",
        "total_size": 0}'}
    headers:
      content-length: ['90']
      content-type: [application/json; charset=utf-8]
      date: ['Tue, 14 Apr 2015 14:06:50 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.example.org/roster/moderator
  response:
    body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"",
        "total_size": 0}'}
    headers:
      content-length: ['90']
      content-type: [application/json; charset=utf-8]
      date: ['Tue, 14 Apr 2015 14:06:50 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@example.org/config
  response:
    body: {string: !!python/unicode '{"autoresponse_grace_period": "90d", "posting_pipeline":
        "default-posting-pipeline", "default_member_action": "defer", "list_name":
        "test", "send_welcome_message": true, "digest_last_sent_at": null, "mail_host":
        "example.org", "volume": 1, "no_reply_address": "noreply@example.org", "autoresponse_owner_text":
        "", "anonymous_list": false, "admin_immed_notify": true, "reply_to_address":
        "", "join_address": "test-join@example.org", "request_address": "test-request@example.org",
        "digest_size_threshold": 30.0, "autorespond_requests": "none", "welcome_message_uri":
        "mailman:///welcome.txt", "acceptable_aliases": [], "leave_address": "test-leave@example.org",
        "archive_policy": "public", "admin_notify_mchanges": false, "administrivia":
        true, "scheme": "http", "subject_prefix": "[Test] ", "filter_content": false,
        "last_post_at": null, "owner_address": "test-owner@example.org", "http_etag":
        "\"1965ad84eb6b5226005c15ea2180bf5a4325ca72\"", "autoresponse_postings_text":
        "", "description": "", "autorespond_owner": "none", "bounces_address": "test-bounces@example.org",
        "allow_list_posts": true, "include_rfc2369_headers": true, "collapse_alternatives":
        true, "autoresponse_request_text": "", "advertised": true, "web_host": "example.org",
        "display_name": "Test", "fqdn_listname": "test@example.org", "next_digest_number":
        1, "created_at": "2015-04-14T14:06:50.117683", "autorespond_postings": "none",
        "convert_html_to_plaintext": false, "post_id": 1, "first_strip_reply_to":
        false, "default_nonmember_action": "hold", "reply_goes_to_list": "no_munging",
        "posting_address": "test@example.org"}'}
    headers:
      content-length: ['1593']
      content-type: [application/json; charset=utf-8]
      date: ['Tue, 14 Apr 2015 14:06:50 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@example.org/config
  response:
    body: {string: !!python/unicode '{"autoresponse_grace_period": "90d", "posting_pipeline":
        "default-posting-pipeline", "default_member_action": "defer", "list_name":
        "test", "send_welcome_message": true, "digest_last_sent_at": null, "mail_host":
        "example.org", "volume": 1, "no_reply_address": "noreply@example.org", "autoresponse_owner_text":
        "", "anonymous_list": false, "admin_immed_notify": true, "reply_to_address":
        "", "join_address": "test-join@example.org", "request_address": "test-request@example.org",
        "digest_size_threshold": 30.0, "autorespond_requests": "none", "welcome_message_uri":
        "mailman:///welcome.txt", "acceptable_aliases": [], "leave_address": "test-leave@example.org",
        "archive_policy": "public", "admin_notify_mchanges": false, "administrivia":
        true, "scheme": "http", "subject_prefix": "[Test] ", "filter_content": false,
        "last_post_at": null, "owner_address": "test-owner@example.org", "http_etag":
        "\"1965ad84eb6b5226005c15ea2180bf5a4325ca72\"", "autoresponse_postings_text":
        "", "description": "", "autorespond_owner": "none", "bounces_address": "test-bounces@example.org",
        "allow_list_posts": true, "include_rfc2369_headers": true, "collapse_alternatives":
        true, "autoresponse_request_text": "", "advertised": true, "web_host": "example.org",
        "display_name": "Test", "fqdn_listname": "test@example.org", "next_digest_number":
        1, "created_at": "2015-04-14T14:06:50.117683", "autorespond_postings": "none",
        "convert_html_to_plaintext": false, "post_id": 1, "first_strip_reply_to":
        false, "default_nonmember_action": "hold", "reply_goes_to_list": "no_munging",
        "posting_address": "test@example.org"}'}
    headers:
      content-length: ['1593']
      content-type: [application/json; charset=utf-8]
      date: ['Tue, 14 Apr 2015 14:06:50 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@example.org/config
  response:
    body: {string: !!python/unicode '{"autoresponse_grace_period": "90d", "posting_pipeline":
        "default-posting-pipeline", "default_member_action": "defer", "list_name":
        "test", "send_welcome_message": true, "digest_last_sent_at": null, "mail_host":
        "example.org", "volume": 1, "no_reply_address": "noreply@example.org", "autoresponse_owner_text":
        "", "anonymous_list": false, "admin_immed_notify": true, "reply_to_address":
        "", "join_address": "test-join@example.org", "request_address": "test-request@example.org",
        "digest_size_threshold": 30.0, "autorespond_requests": "none", "welcome_message_uri":
        "mailman:///welcome.txt", "acceptable_aliases": [], "leave_address": "test-leave@example.org",
        "archive_policy": "public", "admin_notify_mchanges": false, "administrivia":
        true, "scheme": "http", "subject_prefix": "[Test] ", "filter_content": false,
        "last_post_at": null, "owner_address": "test-owner@example.org", "http_etag":
        "\"1965ad84eb6b5226005c15ea2180bf5a4325ca72\"", "autoresponse_postings_text":
        "", "description": "", "autorespond_owner": "none", "bounces_address": "test-bounces@example.org",
        "allow_list_posts": true, "include_rfc2369_headers": true, "collapse_alternatives":
        true, "autoresponse_request_text": "", "advertised": true, "web_host": "example.org",
        "display_name": "Test", "fqdn_listname": "test@example.org", "next_digest_number":
        1, "created_at": "2015-04-14T14:06:50.117683", "autorespond_postings": "none",
        "convert_html_to_plaintext": false, "post_id": 1, "first_strip_reply_to":
        false, "default_nonmember_action": "hold", "reply_goes_to_list": "no_munging",
        "posting_address": "test@example.org"}'}
    headers:
      content-length: ['1593']
      content-type: [application/json; charset=utf-8]
      date: ['Tue, 14 Apr 2015 14:06:50 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@example.org/config
  response:
    body: {string: !!python/unicode '{"autoresponse_grace_period": "90d", "posting_pipeline":
        "default-posting-pipeline", "default_member_action": "defer", "list_name":
        "test", "send_welcome_message": true, "digest_last_sent_at": null, "mail_host":
        "example.org", "volume": 1, "no_reply_address": "noreply@example.org", "autoresponse_owner_text":
        "", "anonymous_list": false, "admin_immed_notify": true, "reply_to_address":
        "", "join_address": "test-join@example.org", "request_address": "test-request@example.org",
        "digest_size_threshold": 30.0, "autorespond_requests": "none", "welcome_message_uri":
        "mailman:///welcome.txt", "acceptable_aliases": [], "leave_address": "test-leave@example.org",
        "archive_policy": "public", "admin_notify_mchanges": false, "administrivia":
        true, "scheme": "http", "subject_prefix": "[Test] ", "filter_content": false,
        "last_post_at": null, "owner_address": "test-owner@example.org", "http_etag":
        "\"1965ad84eb6b5226005c15ea2180bf5a4325ca72\"", "autoresponse_postings_text":
        "", "description": "", "autorespond_owner": "none", "bounces_address": "test-bounces@example.org",
        "allow_list_posts": true, "include_rfc2369_headers": true, "collapse_alternatives":
        true, "autoresponse_request_text": "", "advertised": true, "web_host": "example.org",
        "display_name": "Test", "fqdn_listname": "test@example.org", "next_digest_number":
        1, "created_at": "2015-04-14T14:06:50.117683", "autorespond_postings": "none",
        "convert_html_to_plaintext": false, "post_id": 1, "first_strip_reply_to":
        false, "default_nonmember_action": "hold", "reply_goes_to_list": "no_munging",
        "posting_address": "test@example.org"}'}
    headers:
      content-length: ['1593']
      content-type: [application/json; charset=utf-8]
      date: ['Tue, 14 Apr 2015 14:06:50 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@example.org
  response:
    body: {string: !!python/unicode ''}
    headers:
      content-length: ['0']
      date: ['Tue, 14 Apr 2015 14:06:50 GMT']
      server: [WSGIServer/0.2 CPython/3.4.2]
    status: {code: 204, message: No Content}
- 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/domains/example.org
  response:
    body: {string: !!python/unicode ''}
    headers:
      content-length: ['0']
      date: ['Tue, 14 Apr 2015 14:06:50 GMT']
      server: [WSGIServer/0.2 CPython/3.4.2]
    status: {code: 204, message: No Content}
- request:
    body: mail_host=example.org
    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:50 GMT']
      location: ['http://localhost:9001/3.0/domains/example.org']
      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.org
  response:
    body: {string: !!python/unicode '{"description": null, "base_url": "http://example.org",
        "url_host": "example.org", "self_link": "http://localhost:9001/3.0/domains/example.org",
        "mail_host": "example.org", "http_etag": "\"f8247f55d4a0a1d987c89cc238bb0dbc2c0e1089\""}'}
    headers:
      content-length: ['233']
      content-type: [application/json; charset=utf-8]
      date: ['Tue, 14 Apr 2015 14:06:50 GMT']
      server: [WSGIServer/0.2 CPython/3.4.2]
    status: {code: 200, message: OK}
- request:
    body: fqdn_listname=test%40example.org
    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:50 GMT']
      location: ['http://localhost:9001/3.0/lists/test.example.org']
      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@example.org
  response:
    body: {string: !!python/unicode '{"member_count": 0, "list_name": "test", "self_link":
        "http://localhost:9001/3.0/lists/test.example.org", "display_name": "Test",
        "list_id": "test.example.org", "fqdn_listname": "test@example.org", "volume":
        1, "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\"", "mail_host":
        "example.org"}'}
    headers:
      content-length: ['299']
      content-type: [application/json; charset=utf-8]
      date: ['Tue, 14 Apr 2015 14:06:50 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@example.org
  response:
    body: {string: !!python/unicode '{"member_count": 0, "list_name": "test", "self_link":
        "http://localhost:9001/3.0/lists/test.example.org", "display_name": "Test",
        "list_id": "test.example.org", "fqdn_listname": "test@example.org", "volume":
        1, "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\"", "mail_host":
        "example.org"}'}
    headers:
      content-length: ['299']
      content-type: [application/json; charset=utf-8]
      date: ['Tue, 14 Apr 2015 14:06:50 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@example.org
  response:
    body: {string: !!python/unicode ''}
    headers:
      content-length: ['0']
      date: ['Tue, 14 Apr 2015 14:06:51 GMT']
      server: [WSGIServer/0.2 CPython/3.4.2]
    status: {code: 204, message: No Content}
- 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/domains/example.org
  response:
    body: {string: !!python/unicode ''}
    headers:
      content-length: ['0']
      date: ['Tue, 14 Apr 2015 14:06:51 GMT']
      server: [WSGIServer/0.2 CPython/3.4.2]
    status: {code: 204, message: No Content}
version: 1