Newer
Older
postorius / src / postorius / tests / fixtures / vcr_cassettes / TestAddressActivationForm.test_valid_email_is_valid.yaml
@Simon Hanna Simon Hanna on 25 Mar 2016 2 KB Update tapes
interactions:
- request:
    body: email=subscribed%40example.org&password=password
    headers:
      accept-encoding: ['gzip, deflate']
      !!python/unicode content-type: [!!python/unicode application/x-www-form-urlencoded]
    method: !!python/unicode POST
    uri: http://localhost:9001/3.0/users
  response:
    body: {string: !!python/unicode ''}
    headers:
      content-length: ['0']
      location: ['http://localhost:9001/3.0/users/114']
    status: {code: 201, message: Created}
- request:
    body: null
    headers:
      accept-encoding: ['gzip, deflate']
    method: !!python/unicode GET
    uri: http://localhost:9001/3.0/users/very_new_email@example.org
  response:
    body: {string: !!python/unicode 404 Not Found}
    headers:
      content-length: ['13']
      content-type: [application/json; charset=utf-8]
    status: {code: 404, message: Not Found}
- request:
    body: null
    headers:
      accept-encoding: ['gzip, deflate']
    method: !!python/unicode GET
    uri: http://localhost:9001/3.0/domains
  response:
    body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"",
        "start": 0, "total_size": 0}'}
    headers:
      content-length: ['90']
      content-type: [application/json; charset=utf-8]
    status: {code: 200, message: OK}
- request:
    body: null
    headers:
      accept-encoding: ['gzip, deflate']
    method: !!python/unicode GET
    uri: http://localhost:9001/3.0/users
  response:
    body: {string: !!python/unicode '{"entries": [{"created_on": "2005-08-01T07:49:23",
        "http_etag": "\"38672ea9967e95d594a85df073412e51ac99e4fd\"", "is_server_owner":
        false, "password": "$6$rounds=686094$ojJ.pPkWmagk4hWB$4Jj.BAQBiXaL5tnz4S7JWVl43R/EQvKS/W0PvTPXQMyyXLSNcHiDROqDphYAAXHKVT9P6XK.5qq2p1vS.eRO71",
        "self_link": "http://localhost:9001/3.0/users/114", "user_id": 114}], "http_etag":
        "\"d458a984b4843e816ccf5a82def6fb8a99ff00b0\"", "start": 0, "total_size":
        1}'}
    headers:
      content-length: ['433']
      content-type: [application/json; charset=utf-8]
    status: {code: 200, message: OK}
- request:
    body: null
    headers:
      accept-encoding: ['gzip, deflate']
    method: !!python/unicode DELETE
    uri: http://localhost:9001/3.0/users/114
  response:
    body: {string: !!python/unicode ''}
    headers:
      content-length: ['0']
    status: {code: 204, message: No Content}
version: 1