Newer
Older
postorius / src / postorius / tests / fixtures / vcr_cassettes / test_change_subscription.yaml
@Abhilash Raj Abhilash Raj on 16 Apr 2015 11 KB rebased trunk
interactions:
- 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/foo@example.com
  response:
    body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/lists/foo.example.com",
        "mail_host": "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"",
        "member_count": 0, "volume": 1, "list_id": "foo.example.com", "fqdn_listname":
        "foo@example.com", "list_name": "foo", "display_name": "Foo"}'}
    headers:
      content-length: ['294']
      content-type: [application/json; charset=utf-8]
      date: ['Thu, 16 Apr 2015 01:51:54 GMT']
      server: [WSGIServer/0.2 CPython/3.4.3]
    status: {code: 200, message: OK}
- request:
    body: display_name=None&subscriber=test%40example.com&list_id=foo.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.0b2']
    method: !!python/unicode 'POST'
    uri: http://localhost:9001/3.0/members
  response:
    body: {string: !!python/unicode ''}
    headers:
      content-length: ['0']
      date: ['Thu, 16 Apr 2015 01:51:54 GMT']
      location: ['http://localhost:9001/3.0/members/48995319033263914563051212487737699716']
      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/foo@example.com
  response:
    body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/lists/foo.example.com",
        "mail_host": "example.com", "http_etag": "\"98cc998d4a30293ec17da639bce10617912a6e1e\"",
        "member_count": 1, "volume": 1, "list_id": "foo.example.com", "fqdn_listname":
        "foo@example.com", "list_name": "foo", "display_name": "Foo"}'}
    headers:
      content-length: ['294']
      content-type: [application/json; charset=utf-8]
      date: ['Thu, 16 Apr 2015 01:51:54 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/foo.example.com/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:54 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/foo.example.com/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:54 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/users/test@example.com
  response:
    body: {string: !!python/unicode '{"created_on": "2015-04-16T01:51:54.144558",
        "http_etag": "\"050213864009b308d82299b1c2f0051e4cfbf8c0\"", "self_link":
        "http://localhost:9001/3.0/users/170517939181090383652243314759949233961",
        "user_id": 170517939181090383652243314759949233961, "is_server_owner": false,
        "display_name": "None"}'}
    headers:
      content-length: ['295']
      content-type: [application/json; charset=utf-8]
      date: ['Thu, 16 Apr 2015 01:51:54 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/users/170517939181090383652243314759949233961
  response:
    body: {string: !!python/unicode '{"created_on": "2015-04-16T01:51:54.144558",
        "http_etag": "\"050213864009b308d82299b1c2f0051e4cfbf8c0\"", "self_link":
        "http://localhost:9001/3.0/users/170517939181090383652243314759949233961",
        "user_id": 170517939181090383652243314759949233961, "is_server_owner": false,
        "display_name": "None"}'}
    headers:
      content-length: ['295']
      content-type: [application/json; charset=utf-8]
      date: ['Thu, 16 Apr 2015 01:51:54 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/users/170517939181090383652243314759949233961/addresses
  response:
    body: {string: !!python/unicode '{"entries": [{"http_etag": "\"17ae70481699cb3acbab82ff36a8ada654fae79f\"",
        "self_link": "http://localhost:9001/3.0/addresses/test@example.com", "original_email":
        "test@example.com", "user": "http://localhost:9001/3.0/users/170517939181090383652243314759949233961",
        "email": "test@example.com", "display_name": "None", "registered_on": "2015-04-16T01:51:54.144256"}],
        "start": 0, "total_size": 1, "http_etag": "\"f60b65ccd03582358a5ef7d0218394db6cb8a095\""}'}
    headers:
      content-length: ['456']
      content-type: [application/json; charset=utf-8]
      date: ['Thu, 16 Apr 2015 01:51:54 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/foo@example.com/roster/member
  response:
    body: {string: !!python/unicode '{"entries": [{"address": "http://localhost:9001/3.0/addresses/test@example.com",
        "self_link": "http://localhost:9001/3.0/members/48995319033263914563051212487737699716",
        "delivery_mode": "regular", "member_id": 48995319033263914563051212487737699716,
        "http_etag": "\"e9a5c18d1a73dbdc7582bff4998f45ed4819ccca\"", "list_id": "foo.example.com",
        "email": "test@example.com", "role": "member", "user": "http://localhost:9001/3.0/users/170517939181090383652243314759949233961"}],
        "start": 0, "total_size": 1, "http_etag": "\"93646c8e0e0bdf4883ca5a31220c00bbbc2ce663\""}'}
    headers:
      content-length: ['563']
      content-type: [application/json; charset=utf-8]
      date: ['Thu, 16 Apr 2015 01:51:54 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/members/48995319033263914563051212487737699716
  response:
    body: {string: !!python/unicode '{"address": "http://localhost:9001/3.0/addresses/test@example.com",
        "self_link": "http://localhost:9001/3.0/members/48995319033263914563051212487737699716",
        "delivery_mode": "regular", "member_id": 48995319033263914563051212487737699716,
        "http_etag": "\"e9a5c18d1a73dbdc7582bff4998f45ed4819ccca\"", "list_id": "foo.example.com",
        "email": "test@example.com", "role": "member", "user": "http://localhost:9001/3.0/users/170517939181090383652243314759949233961"}'}
    headers:
      content-length: ['458']
      content-type: [application/json; charset=utf-8]
      date: ['Thu, 16 Apr 2015 01:51:54 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/foo@example.com/config
  response:
    body: {string: !!python/unicode '{"reply_to_address": "", "reply_goes_to_list":
        "no_munging", "autoresponse_grace_period": "90d", "scheme": "http", "leave_address":
        "foo-leave@example.com", "posting_address": "foo@example.com", "autoresponse_request_text":
        "", "autoresponse_owner_text": "", "list_name": "foo", "display_name": "Foo",
        "convert_html_to_plaintext": false, "archive_policy": "public", "no_reply_address":
        "noreply@example.com", "autoresponse_postings_text": "", "http_etag": "\"d758c5e60b1601e833e259cb45cb0d82bddd4a95\"",
        "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:53.900526", "subject_prefix": "[Foo] ", "include_rfc2369_headers":
        true, "post_id": 1, "advertised": true, "join_address": "foo-join@example.com",
        "anonymous_list": false, "last_post_at": null, "owner_address": "foo-owner@example.com",
        "fqdn_listname": "foo@example.com", "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.com", "digest_size_threshold": 30.0, "send_welcome_message":
        true, "acceptable_aliases": [], "next_digest_number": 1, "description": "",
        "request_address": "foo-request@example.com", "autorespond_owner": "none",
        "administrivia": true, "bounces_address": "foo-bounces@example.com", "web_host":
        "example.com"}'}
    headers:
      content-length: ['1583']
      content-type: [application/json; charset=utf-8]
      date: ['Thu, 16 Apr 2015 01:51:54 GMT']
      server: [WSGIServer/0.2 CPython/3.4.3]
    status: {code: 200, message: OK}
version: 1