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

« back to all changes in this revision

Viewing changes to tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_create_record_for_CNAME_with_valid_name_and_content.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: !!python/unicode '{}'
 
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.13.0]
 
11
    method: GET
 
12
    uri: https://api.sandbox.dnsimple.com/v2/accounts
 
13
  response:
 
14
    body: {string: !!python/unicode '{"data":[{"id":475,"plan_identifier":"dnsimple-personal","created_at":"2017-03-11T04:50:42Z","updated_at":"2017-03-12T08:06:55Z"}]}'}
 
15
    headers:
 
16
      cache-control: ['max-age=0, private, must-revalidate']
 
17
      connection: [keep-alive]
 
18
      content-length: ['156']
 
19
      content-type: [application/json; charset=utf-8]
 
20
      date: ['Sun, 12 Mar 2017 23:53:48 GMT']
 
21
      etag: [W/"72b5baad57ee66be3c25031e6dd757be"]
 
22
      server: [nginx]
 
23
      strict-transport-security: [max-age=31536000]
 
24
      transfer-encoding: [chunked]
 
25
      x-content-type-options: [nosniff]
 
26
      x-download-options: [noopen]
 
27
      x-frame-options: [DENY]
 
28
      x-permitted-cross-domain-policies: [none]
 
29
      x-ratelimit-limit: ['2400']
 
30
      x-ratelimit-remaining: ['2391']
 
31
      x-ratelimit-reset: ['1489366392']
 
32
      x-request-id: [acb50999-b930-4ec8-82eb-68e383a10d5e]
 
33
      x-runtime: ['0.019444']
 
34
      x-xss-protection: [1; mode=block]
 
35
    status: {code: 200, message: OK}
 
36
- request:
 
37
    body: !!python/unicode '{}'
 
38
    headers:
 
39
      Accept: [application/json]
 
40
      Accept-Encoding: ['gzip, deflate']
 
41
      Connection: [keep-alive]
 
42
      Content-Length: ['2']
 
43
      Content-Type: [application/json]
 
44
      User-Agent: [python-requests/2.13.0]
 
45
    method: GET
 
46
    uri: https://api.sandbox.dnsimple.com/v2/475/domains?name_like=wopr.tech
 
47
  response:
 
48
    body: {string: !!python/unicode '{"data":[{"id":32240,"account_id":475,"registrant_id":null,"name":"wopr.tech","unicode_name":"wopr.tech","state":"hosted","auto_renew":false,"private_whois":false,"expires_on":null,"created_at":"2017-03-12T23:53:34Z","updated_at":"2017-03-12T23:53:34Z"}],"pagination":{"current_page":1,"per_page":30,"total_entries":1,"total_pages":1}}'}
 
49
    headers:
 
50
      cache-control: ['max-age=0, private, must-revalidate']
 
51
      connection: [keep-alive]
 
52
      content-length: ['378']
 
53
      content-type: [application/json; charset=utf-8]
 
54
      date: ['Sun, 12 Mar 2017 23:53:48 GMT']
 
55
      etag: [W/"f8acd1dd7c5dc59b6f1af98347e840ee"]
 
56
      server: [nginx]
 
57
      strict-transport-security: [max-age=31536000]
 
58
      transfer-encoding: [chunked]
 
59
      x-content-type-options: [nosniff]
 
60
      x-download-options: [noopen]
 
61
      x-frame-options: [DENY]
 
62
      x-permitted-cross-domain-policies: [none]
 
63
      x-ratelimit-limit: ['2400']
 
64
      x-ratelimit-remaining: ['2386']
 
65
      x-ratelimit-reset: ['1489366392']
 
66
      x-request-id: [6b9e95aa-1b26-4e2f-84a8-ed6948cc95be]
 
67
      x-runtime: ['0.030017']
 
68
      x-xss-protection: [1; mode=block]
 
69
    status: {code: 200, message: OK}
 
70
- request:
 
71
    body: !!python/unicode '{}'
 
72
    headers:
 
73
      Accept: [application/json]
 
74
      Accept-Encoding: ['gzip, deflate']
 
75
      Connection: [keep-alive]
 
76
      Content-Length: ['2']
 
77
      Content-Type: [application/json]
 
78
      User-Agent: [python-requests/2.13.0]
 
79
    method: GET
 
80
    uri: https://api.sandbox.dnsimple.com/v2/475/zones/wopr.tech/records?type=CNAME&name=docs
 
81
  response:
 
82
    body: {string: !!python/unicode '{"data":[],"pagination":{"current_page":1,"per_page":30,"total_entries":0,"total_pages":1}}'}
 
83
    headers:
 
84
      cache-control: ['max-age=0, private, must-revalidate']
 
85
      connection: [keep-alive]
 
86
      content-length: ['91']
 
87
      content-type: [application/json; charset=utf-8]
 
88
      date: ['Sun, 12 Mar 2017 23:53:49 GMT']
 
89
      etag: [W/"0605e329ddd741bf0b60c52b68e9846b"]
 
90
      server: [nginx]
 
91
      strict-transport-security: [max-age=31536000]
 
92
      transfer-encoding: [chunked]
 
93
      x-content-type-options: [nosniff]
 
94
      x-download-options: [noopen]
 
95
      x-frame-options: [DENY]
 
96
      x-permitted-cross-domain-policies: [none]
 
97
      x-ratelimit-limit: ['2400']
 
98
      x-ratelimit-remaining: ['2385']
 
99
      x-ratelimit-reset: ['1489366393']
 
100
      x-request-id: [c524ac1d-0b72-4e2e-a751-64176529e498]
 
101
      x-runtime: ['0.042658']
 
102
      x-xss-protection: [1; mode=block]
 
103
    status: {code: 200, message: OK}
 
104
- request:
 
105
    body: !!python/unicode '{"content": "docs.example.com", "type": "CNAME", "name":
 
106
      "docs"}'
 
107
    headers:
 
108
      Accept: [application/json]
 
109
      Accept-Encoding: ['gzip, deflate']
 
110
      Connection: [keep-alive]
 
111
      Content-Length: ['64']
 
112
      Content-Type: [application/json]
 
113
      User-Agent: [python-requests/2.13.0]
 
114
    method: POST
 
115
    uri: https://api.sandbox.dnsimple.com/v2475/zones/wopr.tech/records
 
116
  response:
 
117
    body: {string: !!python/unicode '{"data":{"id":311245,"zone_id":"wopr.tech","parent_id":null,"name":"docs","content":"docs.example.com","ttl":3600,"priority":null,"type":"CNAME","regions":["global"],"system_record":false,"created_at":"2017-03-12T23:53:49Z","updated_at":"2017-03-12T23:53:49Z"}}'}
 
118
    headers:
 
119
      cache-control: ['max-age=0, private, must-revalidate']
 
120
      connection: [keep-alive]
 
121
      content-type: [application/json; charset=utf-8]
 
122
      date: ['Sun, 12 Mar 2017 23:53:49 GMT']
 
123
      etag: [W/"9d9dd18ae8131b8ea9d46a796cb3d7c4"]
 
124
      server: [nginx]
 
125
      strict-transport-security: [max-age=31536000]
 
126
      transfer-encoding: [chunked]
 
127
      x-content-type-options: [nosniff]
 
128
      x-download-options: [noopen]
 
129
      x-frame-options: [DENY]
 
130
      x-permitted-cross-domain-policies: [none]
 
131
      x-ratelimit-limit: ['2400']
 
132
      x-ratelimit-remaining: ['2384']
 
133
      x-ratelimit-reset: ['1489366392']
 
134
      x-request-id: [4d7a339b-cf5a-4fd0-9b93-76578c9b9964]
 
135
      x-runtime: ['0.099090']
 
136
      x-xss-protection: [1; mode=block]
 
137
    status: {code: 201, message: Created}
 
138
version: 1