~ubuntu-branches/debian/sid/lexicon/sid

« back to all changes in this revision

Viewing changes to tests/fixtures/cassettes/nsone/IntegrationTests/test_Provider_authenticate.yaml

  • Committer: Package Import Robot
  • Author(s): Ana Custura
  • Date: 2018-03-02 22:36:08 UTC
  • Revision ID: package-import@ubuntu.com-20180302223608-4e2sghral3uifgq7
Tags: upstream-2.1.21
ImportĀ upstreamĀ versionĀ 2.1.21

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
interactions:
 
2
- request:
 
3
    body: '{}'
 
4
    headers:
 
5
      Accept: [application/json]
 
6
      Accept-Encoding: ['gzip, deflate']
 
7
      Connection: [keep-alive]
 
8
      Content-Length: ['2']
 
9
      Content-Type: [application/json]
 
10
      User-Agent: [python-requests/2.9.1]
 
11
    method: GET
 
12
    uri: https://api.nsone.net/v1/zones/capsulecd.com
 
13
  response:
 
14
    body: {string: !!python/unicode '{"nx_ttl":3600,"retry":7200,"zone":"capsulecd.com","network_pools":["p06"],"primary":{"enabled":false,"secondaries":[]},"refresh":43200,"expiry":1209600,"dns_servers":["dns1.p06.nsone.net","dns2.p06.nsone.net","dns3.p06.nsone.net","dns4.p06.nsone.net"],"records":[{"domain":"capsulecd.com","short_answers":["dns1.p06.nsone.net","dns2.p06.nsone.net","dns3.p06.nsone.net","dns4.p06.nsone.net"],"ttl":3600,"tier":1,"type":"NS","id":"56f85f4e9f939b00066237b0"},{"domain":"updated.test.capsulecd.com","short_answers":["challengetoken"],"link":null,"ttl":3600,"tier":1,"type":"TXT","id":"56f87ab459272400060f8ae4"}],"meta":{},"link":null,"ttl":3600,"id":"56f85f4e9f939b00066237ab","hostmaster":"hostmaster@nsone.net","networks":[0],"pool":"p06"}
 
15
 
 
16
        '}
 
17
    headers:
 
18
      cache-control: [no-cache]
 
19
      connection: [keep-alive]
 
20
      content-length: ['740']
 
21
      content-type: [application/json]
 
22
      date: ['Wed, 30 Mar 2016 01:59:26 GMT']
 
23
      etag: [W/"c56cf31101dcd3e7eb1f2486be864e51226e9ce1"]
 
24
      expires: ['0']
 
25
      pragma: [no-cache]
 
26
      server: [NSONE API v1]
 
27
      transfer-encoding: [chunked]
 
28
      x-ratelimit-by: [customer]
 
29
      x-ratelimit-limit: ['900']
 
30
      x-ratelimit-period: ['300']
 
31
      x-ratelimit-remaining: ['899']
 
32
    status: {code: 200, message: OK}
 
33
version: 1