File: test_provider_when_calling_delete_record_by_filter_should_remove_record.yaml

package info (click to toggle)
lexicon 3.3.17-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 42,580 kB
  • sloc: python: 12,755; sh: 102; makefile: 11
file content (226 lines) | stat: -rw-r--r-- 14,012 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
interactions:
- request:
    body: !!python/unicode '{}'
    headers:
      Accept: [application/json]
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['2']
      Content-Type: [application/json]
      User-Agent: [python-requests/2.18.4]
    method: GET
    uri: https://api.digitalocean.com/v2/domains/capsulecd.com
  response:
    body: {string: !!python/unicode '{"domain":{"name":"capsulecd.com","ttl":1800,"zone_file":"$ORIGIN
        capsulecd.com.\n$TTL 1800\ncapsulecd.com. IN SOA ns1.digitalocean.com. hostmaster.capsulecd.com.
        1521528430 10800 3600 604800 1800\ncapsulecd.com. 1800 IN NS ns1.digitalocean.com.\ncapsulecd.com.
        1800 IN NS ns2.digitalocean.com.\ncapsulecd.com. 1800 IN NS ns3.digitalocean.com.\ncapsulecd.com.
        1800 IN A 127.0.0.1\nlocalhost.capsulecd.com. 1800 IN A 127.0.0.1\ndocs.capsulecd.com.
        1800 IN CNAME docs.example.com.\n_acme-challenge.fqdn.capsulecd.com. 1800
        IN TXT challengetoken\n_acme-challenge.full.capsulecd.com. 1800 IN TXT challengetoken\n_acme-challenge.test.capsulecd.com.
        1800 IN TXT challengetoken\n"}}'}
    headers:
      cache-control: ['max-age=0, private, must-revalidate']
      cf-ray: [3fe639d2ec6193ba-SJC]
      connection: [keep-alive]
      content-length: ['675']
      content-type: [application/json; charset=utf-8]
      date: ['Tue, 20 Mar 2018 06:47:10 GMT']
      etag: [W/"b3664919476cb350d1cacb4fc6d6bfcc"]
      expect-ct: ['max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"']
      ratelimit-limit: ['5000']
      ratelimit-remaining: ['4814']
      ratelimit-reset: ['1521525195']
      server: [cloudflare]
      set-cookie: ['__cfduid=dac68b7fb699fde4146921be7480e56c81521528430; expires=Wed,
          20-Mar-19 06:47:10 GMT; path=/; domain=.digitalocean.com; HttpOnly']
      transfer-encoding: [chunked]
      x-content-type-options: [nosniff]
      x-frame-options: [SAMEORIGIN]
      x-gateway: [Edge-Gateway]
      x-request-id: [4ece341a-56ed-4a06-b075-f2c30d9ccf51]
      x-response-from: [service]
      x-runtime: ['0.232200']
      x-xss-protection: [1; mode=block]
    status: {code: 200, message: OK}
- request:
    body: !!python/unicode '{}'
    headers:
      Accept: [application/json]
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['2']
      Content-Type: [application/json]
      User-Agent: [python-requests/2.18.4]
    method: GET
    uri: https://api.digitalocean.com/v2/domains/capsulecd.com/records
  response:
    body: {string: !!python/unicode '{"domain_records":[{"id":13310015,"type":"NS","name":"@","data":"ns1.digitalocean.com","priority":null,"port":null,"ttl":1800,"weight":null,"flags":null,"tag":null},{"id":13310016,"type":"NS","name":"@","data":"ns2.digitalocean.com","priority":null,"port":null,"ttl":1800,"weight":null,"flags":null,"tag":null},{"id":13310017,"type":"NS","name":"@","data":"ns3.digitalocean.com","priority":null,"port":null,"ttl":1800,"weight":null,"flags":null,"tag":null},{"id":13310018,"type":"A","name":"@","data":"127.0.0.1","priority":null,"port":null,"ttl":1800,"weight":null,"flags":null,"tag":null},{"id":38629349,"type":"A","name":"localhost","data":"127.0.0.1","priority":null,"port":null,"ttl":1800,"weight":null,"flags":null,"tag":null},{"id":38629350,"type":"CNAME","name":"docs","data":"docs.example.com","priority":null,"port":null,"ttl":1800,"weight":null,"flags":null,"tag":null},{"id":38629351,"type":"TXT","name":"_acme-challenge.fqdn","data":"challengetoken","priority":null,"port":null,"ttl":1800,"weight":null,"flags":null,"tag":null},{"id":38629354,"type":"TXT","name":"_acme-challenge.full","data":"challengetoken","priority":null,"port":null,"ttl":1800,"weight":null,"flags":null,"tag":null},{"id":38629356,"type":"TXT","name":"_acme-challenge.test","data":"challengetoken","priority":null,"port":null,"ttl":1800,"weight":null,"flags":null,"tag":null}],"links":{},"meta":{"total":9}}'}
    headers:
      cache-control: ['max-age=0, private, must-revalidate']
      cf-ray: [3fe639d5bed29390-SJC]
      connection: [keep-alive]
      content-length: ['1392']
      content-type: [application/json; charset=utf-8]
      date: ['Tue, 20 Mar 2018 06:47:11 GMT']
      etag: [W/"6233565674659fe96fd8233ffa44c43d"]
      expect-ct: ['max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"']
      ratelimit-limit: ['5000']
      ratelimit-remaining: ['4813']
      ratelimit-reset: ['1521525195']
      server: [cloudflare]
      set-cookie: ['__cfduid=d5df95171d18ef7d0a107b0c44627eef01521528430; expires=Wed,
          20-Mar-19 06:47:10 GMT; path=/; domain=.digitalocean.com; HttpOnly']
      transfer-encoding: [chunked]
      x-content-type-options: [nosniff]
      x-frame-options: [SAMEORIGIN]
      x-gateway: [Edge-Gateway]
      x-request-id: [329cabcb-575b-446b-a655-8ea7bed8ee29]
      x-response-from: [service]
      x-runtime: ['0.252166']
      x-xss-protection: [1; mode=block]
    status: {code: 200, message: OK}
- request:
    body: !!python/unicode '{"data": "challengetoken", "type": "TXT", "name": "delete.testfilt"}'
    headers:
      Accept: [application/json]
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['68']
      Content-Type: [application/json]
      User-Agent: [python-requests/2.18.4]
    method: POST
    uri: https://api.digitalocean.com/v2/domains/capsulecd.com/records
  response:
    body: {string: !!python/unicode '{"domain_record":{"id":38629358,"type":"TXT","name":"delete.testfilt","data":"challengetoken","priority":null,"port":null,"ttl":1800,"weight":null,"flags":null,"tag":null}}'}
    headers:
      cache-control: ['max-age=0, private, must-revalidate']
      cf-ray: [3fe639d868399306-SJC]
      connection: [keep-alive]
      content-length: ['172']
      content-type: [application/json; charset=utf-8]
      date: ['Tue, 20 Mar 2018 06:47:13 GMT']
      etag: ['"abd738f65ddf1a8f793deaa3d5b31a0c"']
      expect-ct: ['max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"']
      ratelimit-limit: ['5000']
      ratelimit-remaining: ['4812']
      ratelimit-reset: ['1521525195']
      server: [cloudflare]
      set-cookie: ['__cfduid=ddac033bc2a5d9ed30dbc4302f35c1e4c1521528431; expires=Wed,
          20-Mar-19 06:47:11 GMT; path=/; domain=.digitalocean.com; HttpOnly']
      x-content-type-options: [nosniff]
      x-frame-options: [SAMEORIGIN]
      x-gateway: [Edge-Gateway]
      x-request-id: [069ef783-ff9f-4b6a-ab8b-6066427475f6]
      x-response-from: [service]
      x-runtime: ['1.581476']
      x-xss-protection: [1; mode=block]
    status: {code: 201, message: Created}
- request:
    body: !!python/unicode '{}'
    headers:
      Accept: [application/json]
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['2']
      Content-Type: [application/json]
      User-Agent: [python-requests/2.18.4]
    method: GET
    uri: https://api.digitalocean.com/v2/domains/capsulecd.com/records
  response:
    body: {string: !!python/unicode '{"domain_records":[{"id":13310015,"type":"NS","name":"@","data":"ns1.digitalocean.com","priority":null,"port":null,"ttl":1800,"weight":null,"flags":null,"tag":null},{"id":13310016,"type":"NS","name":"@","data":"ns2.digitalocean.com","priority":null,"port":null,"ttl":1800,"weight":null,"flags":null,"tag":null},{"id":13310017,"type":"NS","name":"@","data":"ns3.digitalocean.com","priority":null,"port":null,"ttl":1800,"weight":null,"flags":null,"tag":null},{"id":13310018,"type":"A","name":"@","data":"127.0.0.1","priority":null,"port":null,"ttl":1800,"weight":null,"flags":null,"tag":null},{"id":38629349,"type":"A","name":"localhost","data":"127.0.0.1","priority":null,"port":null,"ttl":1800,"weight":null,"flags":null,"tag":null},{"id":38629350,"type":"CNAME","name":"docs","data":"docs.example.com","priority":null,"port":null,"ttl":1800,"weight":null,"flags":null,"tag":null},{"id":38629351,"type":"TXT","name":"_acme-challenge.fqdn","data":"challengetoken","priority":null,"port":null,"ttl":1800,"weight":null,"flags":null,"tag":null},{"id":38629354,"type":"TXT","name":"_acme-challenge.full","data":"challengetoken","priority":null,"port":null,"ttl":1800,"weight":null,"flags":null,"tag":null},{"id":38629356,"type":"TXT","name":"_acme-challenge.test","data":"challengetoken","priority":null,"port":null,"ttl":1800,"weight":null,"flags":null,"tag":null},{"id":38629358,"type":"TXT","name":"delete.testfilt","data":"challengetoken","priority":null,"port":null,"ttl":1800,"weight":null,"flags":null,"tag":null}],"links":{},"meta":{"total":10}}'}
    headers:
      cache-control: ['max-age=0, private, must-revalidate']
      cf-ray: [3fe639e368a3961f-SJC]
      connection: [keep-alive]
      content-length: ['1548']
      content-type: [application/json; charset=utf-8]
      date: ['Tue, 20 Mar 2018 06:47:13 GMT']
      etag: [W/"3d558e8c996c53441832e5c931709129"]
      expect-ct: ['max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"']
      ratelimit-limit: ['5000']
      ratelimit-remaining: ['4811']
      ratelimit-reset: ['1521525195']
      server: [cloudflare]
      set-cookie: ['__cfduid=d7edc0c5616f899da05ca19a3d51a426c1521528433; expires=Wed,
          20-Mar-19 06:47:13 GMT; path=/; domain=.digitalocean.com; HttpOnly']
      transfer-encoding: [chunked]
      x-content-type-options: [nosniff]
      x-frame-options: [SAMEORIGIN]
      x-gateway: [Edge-Gateway]
      x-request-id: [c6ec14a5-2fee-4f2a-a4b8-011a24e05f3e]
      x-response-from: [service]
      x-runtime: ['0.324014']
      x-xss-protection: [1; mode=block]
    status: {code: 200, message: OK}
- request:
    body: !!python/unicode '{}'
    headers:
      Accept: [application/json]
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['2']
      Content-Type: [application/json]
      User-Agent: [python-requests/2.18.4]
    method: DELETE
    uri: https://api.digitalocean.com/v2/domains/capsulecd.com/records/38629358
  response:
    body: {string: !!python/unicode ''}
    headers:
      cache-control: [no-cache]
      cf-ray: [3fe639e6ecb6929a-SJC]
      connection: [keep-alive]
      date: ['Tue, 20 Mar 2018 06:47:14 GMT']
      expect-ct: ['max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"']
      ratelimit-limit: ['5000']
      ratelimit-remaining: ['4810']
      ratelimit-reset: ['1521525195']
      server: [cloudflare]
      set-cookie: ['__cfduid=dbcee63c755bd53a536ea890f7ac2735f1521528433; expires=Wed,
          20-Mar-19 06:47:13 GMT; path=/; domain=.digitalocean.com; HttpOnly']
      x-content-type-options: [nosniff]
      x-frame-options: [SAMEORIGIN]
      x-gateway: [Edge-Gateway]
      x-request-id: [ab7e0038-6eae-4e2f-b3ae-f0a81e29c0f3]
      x-response-from: [service]
      x-runtime: ['0.163510']
      x-xss-protection: [1; mode=block]
    status: {code: 204, message: No Content}
- request:
    body: !!python/unicode '{}'
    headers:
      Accept: [application/json]
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['2']
      Content-Type: [application/json]
      User-Agent: [python-requests/2.18.4]
    method: GET
    uri: https://api.digitalocean.com/v2/domains/capsulecd.com/records
  response:
    body: {string: !!python/unicode '{"domain_records":[{"id":13310015,"type":"NS","name":"@","data":"ns1.digitalocean.com","priority":null,"port":null,"ttl":1800,"weight":null,"flags":null,"tag":null},{"id":13310016,"type":"NS","name":"@","data":"ns2.digitalocean.com","priority":null,"port":null,"ttl":1800,"weight":null,"flags":null,"tag":null},{"id":13310017,"type":"NS","name":"@","data":"ns3.digitalocean.com","priority":null,"port":null,"ttl":1800,"weight":null,"flags":null,"tag":null},{"id":13310018,"type":"A","name":"@","data":"127.0.0.1","priority":null,"port":null,"ttl":1800,"weight":null,"flags":null,"tag":null},{"id":38629349,"type":"A","name":"localhost","data":"127.0.0.1","priority":null,"port":null,"ttl":1800,"weight":null,"flags":null,"tag":null},{"id":38629350,"type":"CNAME","name":"docs","data":"docs.example.com","priority":null,"port":null,"ttl":1800,"weight":null,"flags":null,"tag":null},{"id":38629351,"type":"TXT","name":"_acme-challenge.fqdn","data":"challengetoken","priority":null,"port":null,"ttl":1800,"weight":null,"flags":null,"tag":null},{"id":38629354,"type":"TXT","name":"_acme-challenge.full","data":"challengetoken","priority":null,"port":null,"ttl":1800,"weight":null,"flags":null,"tag":null},{"id":38629356,"type":"TXT","name":"_acme-challenge.test","data":"challengetoken","priority":null,"port":null,"ttl":1800,"weight":null,"flags":null,"tag":null}],"links":{},"meta":{"total":9}}'}
    headers:
      cache-control: ['max-age=0, private, must-revalidate']
      cf-ray: [3fe639e91b25961f-SJC]
      connection: [keep-alive]
      content-length: ['1392']
      content-type: [application/json; charset=utf-8]
      date: ['Tue, 20 Mar 2018 06:47:14 GMT']
      etag: [W/"6233565674659fe96fd8233ffa44c43d"]
      expect-ct: ['max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"']
      ratelimit-limit: ['5000']
      ratelimit-remaining: ['4809']
      ratelimit-reset: ['1521525195']
      server: [cloudflare]
      set-cookie: ['__cfduid=df69a38feb9b4118d8286fa1093e0583f1521528434; expires=Wed,
          20-Mar-19 06:47:14 GMT; path=/; domain=.digitalocean.com; HttpOnly']
      transfer-encoding: [chunked]
      x-content-type-options: [nosniff]
      x-frame-options: [SAMEORIGIN]
      x-gateway: [Edge-Gateway]
      x-request-id: [536622bf-6743-4550-be36-b24ca8521c26]
      x-response-from: [service]
      x-runtime: ['0.129714']
      x-xss-protection: [1; mode=block]
    status: {code: 200, message: OK}
version: 1