~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_filter_with_full_name_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:03 GMT']
 
22
      etag: ['"64759825f5fbcfb9ee3f1ac1c0819f88"']
 
23
      server: [nginx]
 
24
      set-cookie: [_passenger_route=283609999; 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: [29f8c073e96e5a71dc5b8900f30dc9e7]
 
30
      x-runtime: ['0.007641']
 
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.testfull"}}'
 
37
    headers:
 
38
      Accept: [application/json]
 
39
      Accept-Encoding: ['gzip, deflate']
 
40
      Connection: [keep-alive]
 
41
      Content-Length: ['92']
 
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.testfull.capsulecd.com.","data":"\"challengetoken\"","id":104417982,"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:04 GMT']
 
54
      etag: ['"b722eac6ac369573b433904785c398d3"']
 
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: [6a6d06899c317b298fde22c65b55419b]
 
62
      x-runtime: ['0.035488']
 
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&data=challengetoken&name=delete.testfull
 
77
  response:
 
78
    body: {string: !!python/unicode '[{"zone_record":{"name":"delete.testfull.capsulecd.com.","data":"\"challengetoken\"","id":104417982,"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:05 GMT']
 
85
      etag: ['"fbf599e0119d6b5901d8730554c0847c"']
 
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: [e5ba07192b8d3e936d81ef7fa7ba141c]
 
93
      x-runtime: ['0.005737']
 
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/104417982
 
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:06 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: [99c7118da44b7964d3fd21427f777444]
 
120
      x-runtime: ['0.022029']
 
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.testfull
 
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:07 GMT']
 
142
      etag: ['"d751713988987e9331980363e24189ce"']
 
143
      server: [nginx]
 
144
      set-cookie: [_passenger_route=283609999; 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: [1084cb669da6d7666547173ea6b469a1]
 
150
      x-runtime: ['0.005011']
 
151
      x-ua-compatible: ['IE=Edge,chrome=1']
 
152
      x-xss-protection: [1; mode=block]
 
153
    status: {code: 200, message: OK}
 
154
version: 1