Newer
Older
postorius / src / postorius / tests / fixtures / vcr_cassettes / test_list_members_add_owner_new_owner_added.yaml
@Florian Fuchs Florian Fuchs on 10 Feb 2015 5 KB add env for fixture re-recording to tox.ini
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.0b1']
    method: !!python/unicode 'GET'
    uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner
  response:
    body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/133031822885082332796307253938036371304",
        "http_etag": "\"66a1d315af633b2da10b8bc3991534ca60c1d697\"", "role": "owner",
        "email": "newowner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com",
        "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "self_link":
        "http://localhost:9001/3.0/members/267920195804341479595887151335923694476"}],
        "start": 0, "http_etag": "\"d8d824807c3758b3628cb90b39281980cb7f6c50\"", "total_size":
        1}'}
    headers:
      content-length: ['518']
      content-type: [application/json; charset=utf-8]
      date: ['Mon, 09 Feb 2015 22:14: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/foo.example.com/roster/owner
  response:
    body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/133031822885082332796307253938036371304",
        "http_etag": "\"41cb15952083109bc171dc256e8f39bcffd43c1b\"", "role": "owner",
        "email": "newowner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com",
        "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "self_link":
        "http://localhost:9001/3.0/members/92911355898032999856885566287370306169"}],
        "start": 0, "http_etag": "\"37f2371458529d962f1c092b65dff9a439570967\"", "total_size":
        1}'}
    headers:
      content-length: ['517']
      content-type: [application/json; charset=utf-8]
      date: ['Tue, 10 Feb 2015 11:30:24 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/foo.example.com/roster/owner
  response:
    body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/133031822885082332796307253938036371304",
        "http_etag": "\"5ac0f12c486d690adbe9ca9bb1651e3b932aae70\"", "role": "owner",
        "email": "newowner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com",
        "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "self_link":
        "http://localhost:9001/3.0/members/250616991526833765249686627336423033546"}],
        "start": 0, "http_etag": "\"fba40f23e8ddf6bfd632beba4b9d4111e9847576\"", "total_size":
        1}'}
    headers:
      content-length: ['518']
      content-type: [application/json; charset=utf-8]
      date: ['Tue, 10 Feb 2015 11:38:05 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/foo.example.com/roster/owner
  response:
    body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"e33cc26a74aa491cf91453ebcecfda36dd561151\"",
        "entries": [{"email": "newowner@example.com", "role": "owner", "user": "http://localhost:9001/3.0/users/133031822885082332796307253938036371304",
        "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "list_id":
        "foo.example.com", "delivery_mode": "regular", "http_etag": "\"7ed5138f1daaeb40aa5f66c7a9602a814cbfc18e\"",
        "self_link": "http://localhost:9001/3.0/members/119264579398215735612324460632862333333"}],
        "start": 0}'}
    headers:
      content-length: ['518']
      content-type: [application/json; charset=utf-8]
      date: ['Tue, 10 Feb 2015 12:01:24 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/foo.example.com/roster/owner
  response:
    body: {string: !!python/unicode '{"http_etag": "\"9ccdb33fa09076a00f87a519497e5b00f1ec6f84\"",
        "entries": [{"user": "http://localhost:9001/3.0/users/133031822885082332796307253938036371304",
        "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "email":
        "newowner@example.com", "list_id": "foo.example.com", "role": "owner", "http_etag":
        "\"8a39bd1a0715bd5fd87eb0712beca04c90fcef01\"", "self_link": "http://localhost:9001/3.0/members/132928917580241697098401741307030741000",
        "delivery_mode": "regular"}], "start": 0, "total_size": 1}'}
    headers:
      content-length: ['518']
      content-type: [application/json; charset=utf-8]
      date: ['Tue, 10 Feb 2015 13:52:35 GMT']
      server: [WSGIServer/0.2 CPython/3.4.2]
    status: {code: 200, message: OK}
version: 1