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

« back to all changes in this revision

Viewing changes to tests/fixtures/cassettes/pointhq/IntegrationTests/test_Provider_when_calling_delete_record_by_identifier_should_remove_record.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://pointhq.com/zones/capsulecd.com
 
13
  response:
 
14
    body: {string: !!python/unicode '{"zone":{"id":170389,"name":"capsulecd.com","group":"Default
 
15
        Group","user-id":26963,"ttl":3600}}'}
 
16
    headers:
 
17
      access-control-allow-origin: ['*']
 
18
      cache-control: ['must-revalidate, private, max-age=0', max-age=3600]
 
19
      connection: [keep-alive]
 
20
      content-type: [application/json]
 
21
      date: ['Fri, 15 Apr 2016 03:25:07 GMT']
 
22
      etag: ['"64759825f5fbcfb9ee3f1ac1c0819f88"']
 
23
      server: [nginx]
 
24
      set-cookie: [_passenger_route=1937058272; Path=/]
 
25
      status: [200 OK]
 
26
      x-content-type-options: [nosniff]
 
27
      x-frame-options: [SAMEORIGIN]
 
28
      x-rack-cache: [miss]
 
29
      x-request-id: [f5f36fa0b2aef95cd29c7c1a3acfca79]
 
30
      x-runtime: ['0.006785']
 
31
      x-ua-compatible: ['IE=Edge,chrome=1']
 
32
      x-xss-protection: [1; mode=block]
 
33
    status: {code: 200, message: OK}
 
34
- request:
 
35
    body: '{"zone_record": {"record_type": "TXT", "data": "challengetoken", "name":
 
36
      "delete.testid"}}'
 
37
    headers:
 
38
      Accept: [application/json]
 
39
      Accept-Encoding: ['gzip, deflate']
 
40
      Connection: [keep-alive]
 
41
      Content-Length: ['90']
 
42
      Content-Type: [application/json]
 
43
      User-Agent: [python-requests/2.9.1]
 
44
    method: POST
 
45
    uri: https://pointhq.com/zones/170389/records
 
46
  response:
 
47
    body: {string: !!python/unicode '{"zone_record":{"name":"delete.testid.capsulecd.com.","data":"\"challengetoken\"","id":104418008,"aux":null,"record_type":"TXT","ttl":3600,"zone_id":170389}}'}
 
48
    headers:
 
49
      access-control-allow-origin: ['*']
 
50
      cache-control: ['max-age=0, private, must-revalidate', max-age=3600]
 
51
      connection: [keep-alive]
 
52
      content-type: [application/json]
 
53
      date: ['Fri, 15 Apr 2016 03:25:08 GMT']
 
54
      etag: ['"20adbd935ca2cf38f494e15b95c14eb7"']
 
55
      server: [nginx]
 
56
      set-cookie: [_passenger_route=283609999; Path=/]
 
57
      status: [201 Created]
 
58
      x-content-type-options: [nosniff]
 
59
      x-frame-options: [SAMEORIGIN]
 
60
      x-rack-cache: ['invalidate, pass']
 
61
      x-request-id: [204cb02fa15fdd9f5415e8d2b8ba2870]
 
62
      x-runtime: ['0.033136']
 
63
      x-ua-compatible: ['IE=Edge,chrome=1']
 
64
      x-xss-protection: [1; mode=block]
 
65
    status: {code: 201, message: Created}
 
66
- request:
 
67
    body: '{}'
 
68
    headers:
 
69
      Accept: [application/json]
 
70
      Accept-Encoding: ['gzip, deflate']
 
71
      Connection: [keep-alive]
 
72
      Content-Length: ['2']
 
73
      Content-Type: [application/json]
 
74
      User-Agent: [python-requests/2.9.1]
 
75
    method: GET
 
76
    uri: https://pointhq.com/zones/170389/records?record_type=TXT&name=delete.testid
 
77
  response:
 
78
    body: {string: !!python/unicode '[{"zone_record":{"name":"delete.testid.capsulecd.com.","data":"\"challengetoken\"","id":104418008,"aux":null,"record_type":"TXT","ttl":3600,"zone_id":170389}}]'}
 
79
    headers:
 
80
      access-control-allow-origin: ['*']
 
81
      cache-control: ['must-revalidate, private, max-age=0', max-age=3600]
 
82
      connection: [keep-alive]
 
83
      content-type: [application/json]
 
84
      date: ['Fri, 15 Apr 2016 03:25:09 GMT']
 
85
      etag: ['"78f495ad2caaa4f492348ec9dabb650c"']
 
86
      server: [nginx]
 
87
      set-cookie: [_passenger_route=1937058272; Path=/]
 
88
      status: [200 OK]
 
89
      x-content-type-options: [nosniff]
 
90
      x-frame-options: [SAMEORIGIN]
 
91
      x-rack-cache: [miss]
 
92
      x-request-id: [291f076c3592a2ea34b5966281511298]
 
93
      x-runtime: ['0.005629']
 
94
      x-ua-compatible: ['IE=Edge,chrome=1']
 
95
      x-xss-protection: [1; mode=block]
 
96
    status: {code: 200, message: OK}
 
97
- request:
 
98
    body: '{}'
 
99
    headers:
 
100
      Accept: [application/json]
 
101
      Accept-Encoding: ['gzip, deflate']
 
102
      Connection: [keep-alive]
 
103
      Content-Length: ['2']
 
104
      Content-Type: [application/json]
 
105
      User-Agent: [python-requests/2.9.1]
 
106
    method: DELETE
 
107
    uri: https://pointhq.com/zones/170389/records/104418008
 
108
  response:
 
109
    body: {string: !!python/unicode '{"zone_record":{"status":"OK"}}'}
 
110
    headers:
 
111
      cache-control: [no-cache]
 
112
      connection: [keep-alive]
 
113
      content-type: [application/json]
 
114
      date: ['Fri, 15 Apr 2016 03:25:10 GMT']
 
115
      server: [nginx]
 
116
      set-cookie: [_passenger_route=283609999; Path=/]
 
117
      status: [202 Accepted]
 
118
      x-rack-cache: ['invalidate, pass']
 
119
      x-request-id: [0bee68c882b30b2dabfcec053f9d2557]
 
120
      x-runtime: ['0.024948']
 
121
      x-ua-compatible: ['IE=Edge,chrome=1']
 
122
    status: {code: 202, message: Accepted}
 
123
- request:
 
124
    body: '{}'
 
125
    headers:
 
126
      Accept: [application/json]
 
127
      Accept-Encoding: ['gzip, deflate']
 
128
      Connection: [keep-alive]
 
129
      Content-Length: ['2']
 
130
      Content-Type: [application/json]
 
131
      User-Agent: [python-requests/2.9.1]
 
132
    method: GET
 
133
    uri: https://pointhq.com/zones/170389/records?record_type=TXT&name=delete.testid
 
134
  response:
 
135
    body: {string: !!python/unicode '[]'}
 
136
    headers:
 
137
      access-control-allow-origin: ['*']
 
138
      cache-control: ['must-revalidate, private, max-age=0', max-age=3600]
 
139
      connection: [keep-alive]
 
140
      content-type: [application/json]
 
141
      date: ['Fri, 15 Apr 2016 03:25:11 GMT']
 
142
      etag: ['"d751713988987e9331980363e24189ce"']
 
143
      server: [nginx]
 
144
      set-cookie: [_passenger_route=1937058272; Path=/]
 
145
      status: [200 OK]
 
146
      x-content-type-options: [nosniff]
 
147
      x-frame-options: [SAMEORIGIN]
 
148
      x-rack-cache: [miss]
 
149
      x-request-id: [eafd11bee80f83b2d95eebd8fb2f911c]
 
150
      x-runtime: ['0.007200']
 
151
      x-ua-compatible: ['IE=Edge,chrome=1']
 
152
      x-xss-protection: [1; mode=block]
 
153
    status: {code: 200, message: OK}
 
154
version: 1