Newer
Older
postorius / src / postorius / tests / fixtures / vcr_cassettes / test_list_members_new_moderator_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/moderator
  response:
    body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/119841611237508711407725388596844209506",
        "http_etag": "\"e36337be00e19d69928cd36a0c157f15ec088681\"", "role": "moderator",
        "email": "newmod@example.com", "delivery_mode": "regular", "list_id": "foo.example.com",
        "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "self_link":
        "http://localhost:9001/3.0/members/751438638793541747994579529807846416"}],
        "start": 0, "http_etag": "\"7832c6b042b036fcddb53de933b99aae44a37946\"", "total_size":
        1}'}
    headers:
      content-length: ['515']
      content-type: [application/json; charset=utf-8]
      date: ['Mon, 09 Feb 2015 22:14:41 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/moderator
  response:
    body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/119841611237508711407725388596844209506",
        "http_etag": "\"9d107d30c9e18203f66f088b9e6474eaf56f007d\"", "role": "moderator",
        "email": "newmod@example.com", "delivery_mode": "regular", "list_id": "foo.example.com",
        "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "self_link":
        "http://localhost:9001/3.0/members/315821910195407277855074445471339816656"}],
        "start": 0, "http_etag": "\"2e64daed5190014fb384d8d01f01f63c320242e7\"", "total_size":
        1}'}
    headers:
      content-length: ['518']
      content-type: [application/json; charset=utf-8]
      date: ['Tue, 10 Feb 2015 11:30:23 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/moderator
  response:
    body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/119841611237508711407725388596844209506",
        "http_etag": "\"b14473142dc5ea009bd4d8b596bf688d7593bd5a\"", "role": "moderator",
        "email": "newmod@example.com", "delivery_mode": "regular", "list_id": "foo.example.com",
        "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "self_link":
        "http://localhost:9001/3.0/members/69319484268379730690780361376893950407"}],
        "start": 0, "http_etag": "\"9965f78a77863dd38c5a3124b3b1d3beba8c7039\"", "total_size":
        1}'}
    headers:
      content-length: ['517']
      content-type: [application/json; charset=utf-8]
      date: ['Tue, 10 Feb 2015 11:38:04 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/moderator
  response:
    body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"492e085f525a2c9e0a20d8bedae98df0e5dacb65\"",
        "entries": [{"email": "newmod@example.com", "role": "moderator", "user": "http://localhost:9001/3.0/users/119841611237508711407725388596844209506",
        "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "list_id":
        "foo.example.com", "delivery_mode": "regular", "http_etag": "\"0eb62f5cd4f2bc74bed63e5cdaf79b911227484f\"",
        "self_link": "http://localhost:9001/3.0/members/307158093949026640980545686340787594457"}],
        "start": 0}'}
    headers:
      content-length: ['518']
      content-type: [application/json; charset=utf-8]
      date: ['Tue, 10 Feb 2015 12:01:22 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/moderator
  response:
    body: {string: !!python/unicode '{"http_etag": "\"6935e38ad4ac9f5e6589949364e66011492ff159\"",
        "entries": [{"user": "http://localhost:9001/3.0/users/119841611237508711407725388596844209506",
        "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "email":
        "newmod@example.com", "list_id": "foo.example.com", "role": "moderator", "http_etag":
        "\"e35c7ef1335d36c4db92b7d55de6156b453c5183\"", "self_link": "http://localhost:9001/3.0/members/127740608985148952781018159814583588959",
        "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:33 GMT']
      server: [WSGIServer/0.2 CPython/3.4.2]
    status: {code: 200, message: OK}
version: 1