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: ['Mon, 09 Feb 2015 22:14:49 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 '{"base_url": "http://example.org", "mail_host":
        "example.org", "http_etag": "\"730f23a7a90aecfe1248f952d15bcfe97ce9e51f\"",
        "contact_address": "postmaster@example.org", "description": null, "url_host":
        "example.org", "self_link": "http://localhost:9001/3.0/domains/example.org"}'}
    headers:
      content-length: ['278']
      content-type: [application/json; charset=utf-8]
      date: ['Mon, 09 Feb 2015 22:14:49 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: ['Mon, 09 Feb 2015 22:14:49 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 '{"fqdn_listname": "test@example.org", "display_name":
        "Test", "member_count": 0, "list_id": "test.example.org", "mail_host": "example.org",
        "self_link": "http://localhost:9001/3.0/lists/test.example.org", "volume":
        1, "list_name": "test", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'}
    headers:
      content-length: ['299']
      content-type: [application/json; charset=utf-8]
      date: ['Mon, 09 Feb 2015 22:14:49 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 '{"fqdn_listname": "test@example.org", "display_name":
        "Test", "member_count": 0, "list_id": "test.example.org", "mail_host": "example.org",
        "self_link": "http://localhost:9001/3.0/lists/test.example.org", "volume":
        1, "list_name": "test", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'}
    headers:
      content-length: ['299']
      content-type: [application/json; charset=utf-8]
      date: ['Mon, 09 Feb 2015 22:14: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: ['Mon, 09 Feb 2015 22:14: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: ['Mon, 09 Feb 2015 22:14: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_owner_text": "", "include_rfc2369_headers":
        true, "join_address": "test-join@example.org", "scheme": "http", "last_post_at":
        null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address":
        "test-owner@example.org", "archive_policy": "public", "mail_host": "example.org",
        "no_reply_address": "noreply@example.org", "created_at": "2015-02-09T22:14:49.876475",
        "posting_pipeline": "default-posting-pipeline", "display_name": "Test", "leave_address":
        "test-leave@example.org", "fqdn_listname": "test@example.org", "autoresponse_request_text":
        "", "volume": 1, "web_host": "example.org", "bounces_address": "test-bounces@example.org",
        "send_welcome_message": true, "http_etag": "\"9cf34b32814407604ed8f6bfa08d8e40777cddea\"",
        "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address":
        "test@example.org", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text":
        "", "default_member_action": "defer", "default_nonmember_action": "hold",
        "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "test",
        "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list":
        false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold":
        30.0, "request_address": "test-request@example.org", "filter_content": false,
        "subject_prefix": "[Test] ", "collapse_alternatives": true, "autoresponse_grace_period":
        "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia":
        true, "allow_list_posts": true, "autorespond_owner": "none"}'}
    headers:
      content-length: ['1593']
      content-type: [application/json; charset=utf-8]
      date: ['Mon, 09 Feb 2015 22:14: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_owner_text": "", "include_rfc2369_headers":
        true, "join_address": "test-join@example.org", "scheme": "http", "last_post_at":
        null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address":
        "test-owner@example.org", "archive_policy": "public", "mail_host": "example.org",
        "no_reply_address": "noreply@example.org", "created_at": "2015-02-09T22:14:49.876475",
        "posting_pipeline": "default-posting-pipeline", "display_name": "Test", "leave_address":
        "test-leave@example.org", "fqdn_listname": "test@example.org", "autoresponse_request_text":
        "", "volume": 1, "web_host": "example.org", "bounces_address": "test-bounces@example.org",
        "send_welcome_message": true, "http_etag": "\"9cf34b32814407604ed8f6bfa08d8e40777cddea\"",
        "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address":
        "test@example.org", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text":
        "", "default_member_action": "defer", "default_nonmember_action": "hold",
        "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "test",
        "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list":
        false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold":
        30.0, "request_address": "test-request@example.org", "filter_content": false,
        "subject_prefix": "[Test] ", "collapse_alternatives": true, "autoresponse_grace_period":
        "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia":
        true, "allow_list_posts": true, "autorespond_owner": "none"}'}
    headers:
      content-length: ['1593']
      content-type: [application/json; charset=utf-8]
      date: ['Mon, 09 Feb 2015 22:14: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_owner_text": "", "include_rfc2369_headers":
        true, "join_address": "test-join@example.org", "scheme": "http", "last_post_at":
        null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address":
        "test-owner@example.org", "archive_policy": "public", "mail_host": "example.org",
        "no_reply_address": "noreply@example.org", "created_at": "2015-02-09T22:14:49.876475",
        "posting_pipeline": "default-posting-pipeline", "display_name": "Test", "leave_address":
        "test-leave@example.org", "fqdn_listname": "test@example.org", "autoresponse_request_text":
        "", "volume": 1, "web_host": "example.org", "bounces_address": "test-bounces@example.org",
        "send_welcome_message": true, "http_etag": "\"9cf34b32814407604ed8f6bfa08d8e40777cddea\"",
        "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address":
        "test@example.org", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text":
        "", "default_member_action": "defer", "default_nonmember_action": "hold",
        "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "test",
        "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list":
        false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold":
        30.0, "request_address": "test-request@example.org", "filter_content": false,
        "subject_prefix": "[Test] ", "collapse_alternatives": true, "autoresponse_grace_period":
        "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia":
        true, "allow_list_posts": true, "autorespond_owner": "none"}'}
    headers:
      content-length: ['1593']
      content-type: [application/json; charset=utf-8]
      date: ['Mon, 09 Feb 2015 22:14: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_owner_text": "", "include_rfc2369_headers":
        true, "join_address": "test-join@example.org", "scheme": "http", "last_post_at":
        null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address":
        "test-owner@example.org", "archive_policy": "public", "mail_host": "example.org",
        "no_reply_address": "noreply@example.org", "created_at": "2015-02-09T22:14:49.876475",
        "posting_pipeline": "default-posting-pipeline", "display_name": "Test", "leave_address":
        "test-leave@example.org", "fqdn_listname": "test@example.org", "autoresponse_request_text":
        "", "volume": 1, "web_host": "example.org", "bounces_address": "test-bounces@example.org",
        "send_welcome_message": true, "http_etag": "\"9cf34b32814407604ed8f6bfa08d8e40777cddea\"",
        "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address":
        "test@example.org", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text":
        "", "default_member_action": "defer", "default_nonmember_action": "hold",
        "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "test",
        "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list":
        false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold":
        30.0, "request_address": "test-request@example.org", "filter_content": false,
        "subject_prefix": "[Test] ", "collapse_alternatives": true, "autoresponse_grace_period":
        "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia":
        true, "allow_list_posts": true, "autorespond_owner": "none"}'}
    headers:
      content-length: ['1593']
      content-type: [application/json; charset=utf-8]
      date: ['Mon, 09 Feb 2015 22:14: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: ['Mon, 09 Feb 2015 22:14: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: ['Mon, 09 Feb 2015 22:14: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: ['Mon, 09 Feb 2015 22:14: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 '{"base_url": "http://example.org", "mail_host":
        "example.org", "http_etag": "\"730f23a7a90aecfe1248f952d15bcfe97ce9e51f\"",
        "contact_address": "postmaster@example.org", "description": null, "url_host":
        "example.org", "self_link": "http://localhost:9001/3.0/domains/example.org"}'}
    headers:
      content-length: ['278']
      content-type: [application/json; charset=utf-8]
      date: ['Mon, 09 Feb 2015 22:14: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: ['Mon, 09 Feb 2015 22:14: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 '{"fqdn_listname": "test@example.org", "display_name":
        "Test", "member_count": 0, "list_id": "test.example.org", "mail_host": "example.org",
        "self_link": "http://localhost:9001/3.0/lists/test.example.org", "volume":
        1, "list_name": "test", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'}
    headers:
      content-length: ['299']
      content-type: [application/json; charset=utf-8]
      date: ['Mon, 09 Feb 2015 22:14: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 '{"fqdn_listname": "test@example.org", "display_name":
        "Test", "member_count": 0, "list_id": "test.example.org", "mail_host": "example.org",
        "self_link": "http://localhost:9001/3.0/lists/test.example.org", "volume":
        1, "list_name": "test", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'}
    headers:
      content-length: ['299']
      content-type: [application/json; charset=utf-8]
      date: ['Mon, 09 Feb 2015 22:14:51 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: ['Mon, 09 Feb 2015 22:14: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: ['Mon, 09 Feb 2015 22:14:51 GMT']
      server: [WSGIServer/0.2 CPython/3.4.2]
    status: {code: 204, message: No Content}
version: 1