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