File: test_provider_when_calling_delete_record_by_identifier_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 (149 lines) | stat: -rw-r--r-- 8,392 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
interactions:
- request:
    body: '{}'
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['2']
      Content-Type: [application/json]
      User-Agent: [python-requests/2.9.1]
    method: GET
    uri: https://api.cloudflare.com/client/v4/zones?status=active&name=capsulecd.com
  response:
    body: {string: !!python/unicode '{"result":[{"id":"fac516c650e5a737bdc3e1e3dc1047f3","name":"capsulecd.com","status":"active","paused":false,"type":"full","development_mode":0,"name_servers":["dawn.ns.cloudflare.com","owen.ns.cloudflare.com"],"original_name_servers":["ns1glr.name.com","ns2bls.name.com","ns3nrz.name.com","ns4hny.name.com"],"original_registrar":null,"original_dnshost":null,"modified_on":"2016-03-24T17:04:38.265363Z","created_on":"2016-03-09T07:39:40.476430Z","meta":{"step":4,"wildcard_proxiable":false,"custom_certificate_quota":0,"page_rule_quota":"3","phishing_detected":false,"multiple_railguns_allowed":false},"owner":{"type":"user","id":"521a961001d9333c8191f53a9f70eb31","email":"darkmethodz@gmail.com"},"permissions":["#analytics:read","#billing:edit","#billing:read","#cache_purge:edit","#dns_records:edit","#dns_records:read","#lb:edit","#lb:read","#logs:read","#organization:edit","#organization:read","#ssl:edit","#ssl:read","#waf:edit","#waf:read","#zone:edit","#zone:read","#zone_settings:edit","#zone_settings:read"],"plan":{"id":"0feeeeeeeeeeeeeeeeeeeeeeeeeeeeee","name":"Free
        Website","price":0,"currency":"USD","frequency":"","legacy_id":"free","is_subscribed":true,"can_subscribe":true,"externally_managed":false}}],"result_info":{"page":1,"per_page":20,"total_pages":1,"count":1,"total_count":1},"success":true,"errors":[],"messages":[]}'}
    headers:
      cache-control: ['no-store, no-cache, must-revalidate, post-check=0, pre-check=0']
      cf-ray: [28b7f549d54011b3-SJC]
      connection: [keep-alive]
      content-length: ['1343']
      content-type: [application/json]
      date: ['Wed, 30 Mar 2016 01:58:43 GMT']
      expires: ['Sun, 25 Jan 1981 05:00:00 GMT']
      pragma: [no-cache]
      server: [cloudflare-nginx]
      set-cookie: ['__cfduid=da8c61d08f308f9e0141e2eb84cfce4ad1459303123; expires=Thu,
          30-Mar-17 01:58:43 GMT; path=/; domain=.cloudflare.com; HttpOnly']
      strict-transport-security: [max-age=31536000]
      x-content-type-options: [nosniff]
      x-frame-options: [SAMEORIGIN]
    status: {code: 200, message: OK}
- request:
    body: '{"content": "challengetoken", "type": "TXT", "name": "delete.testid"}'
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['69']
      Content-Type: [application/json]
      User-Agent: [python-requests/2.9.1]
    method: POST
    uri: https://api.cloudflare.com/client/v4/zones/fac516c650e5a737bdc3e1e3dc1047f3/dns_records
  response:
    body: {string: !!python/unicode '{"result":{"id":"1f4c56b0c0d1cf12687812672badea9a","type":"TXT","name":"delete.testid.capsulecd.com","content":"challengetoken","proxiable":false,"proxied":false,"ttl":1,"locked":false,"zone_id":"fac516c650e5a737bdc3e1e3dc1047f3","zone_name":"capsulecd.com","modified_on":"2016-03-30T01:59:39.806263Z","created_on":"2016-03-30T01:59:39.806263Z","meta":{"auto_added":false}},"success":true,"errors":[],"messages":[]}'}
    headers:
      cache-control: ['no-store, no-cache, must-revalidate, post-check=0, pre-check=0']
      cf-ray: [28b7f6a982910657-SJC]
      connection: [keep-alive]
      content-length: ['415']
      content-type: [application/json]
      date: ['Wed, 30 Mar 2016 01:59:39 GMT']
      expires: ['Sun, 25 Jan 1981 05:00:00 GMT']
      pragma: [no-cache]
      server: [cloudflare-nginx]
      set-cookie: ['__cfduid=dff9159c044b478db0feb1db2d229da861459303179; expires=Thu,
          30-Mar-17 01:59:39 GMT; path=/; domain=.cloudflare.com; HttpOnly']
      strict-transport-security: [max-age=31536000]
      x-content-type-options: [nosniff]
      x-frame-options: [SAMEORIGIN]
    status: {code: 200, message: OK}
- request:
    body: '{}'
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['2']
      Content-Type: [application/json]
      User-Agent: [python-requests/2.9.1]
    method: GET
    uri: https://api.cloudflare.com/client/v4/zones/fac516c650e5a737bdc3e1e3dc1047f3/dns_records?per_page=100&type=TXT&name=delete.testid.capsulecd.com
  response:
    body: {string: !!python/unicode '{"result":[{"id":"1f4c56b0c0d1cf12687812672badea9a","type":"TXT","name":"delete.testid.capsulecd.com","content":"challengetoken","proxiable":false,"proxied":false,"ttl":1,"locked":false,"zone_id":"fac516c650e5a737bdc3e1e3dc1047f3","zone_name":"capsulecd.com","modified_on":"2016-03-30T01:59:39.806263Z","created_on":"2016-03-30T01:59:39.806263Z","meta":{"auto_added":false}}],"result_info":{"page":1,"per_page":100,"total_pages":1,"count":1,"total_count":1},"success":true,"errors":[],"messages":[]}'}
    headers:
      cache-control: ['no-store, no-cache, must-revalidate, post-check=0, pre-check=0']
      cf-ray: [28b7f7605ce9120d-SJC]
      connection: [keep-alive]
      content-length: ['499']
      content-type: [application/json]
      date: ['Wed, 30 Mar 2016 02:00:09 GMT']
      expires: ['Sun, 25 Jan 1981 05:00:00 GMT']
      pragma: [no-cache]
      server: [cloudflare-nginx]
      set-cookie: ['__cfduid=d1988cfe598500a8668caaabf6ae341ae1459303209; expires=Thu,
          30-Mar-17 02:00:09 GMT; path=/; domain=.cloudflare.com; HttpOnly']
      strict-transport-security: [max-age=31536000]
      x-content-type-options: [nosniff]
      x-frame-options: [SAMEORIGIN]
    status: {code: 200, message: OK}
- request:
    body: '{}'
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['2']
      Content-Type: [application/json]
      User-Agent: [python-requests/2.9.1]
    method: DELETE
    uri: https://api.cloudflare.com/client/v4/zones/fac516c650e5a737bdc3e1e3dc1047f3/dns_records/1f4c56b0c0d1cf12687812672badea9a
  response:
    body: {string: !!python/unicode '{"result":{"id":"1f4c56b0c0d1cf12687812672badea9a"},"success":true,"errors":[],"messages":[]}'}
    headers:
      cache-control: ['no-store, no-cache, must-revalidate, post-check=0, pre-check=0']
      cf-ray: [28b7f7c0f352283a-SJC]
      connection: [keep-alive]
      content-length: ['93']
      content-type: [application/json]
      date: ['Wed, 30 Mar 2016 02:00:24 GMT']
      expires: ['Sun, 25 Jan 1981 05:00:00 GMT']
      pragma: [no-cache]
      server: [cloudflare-nginx]
      set-cookie: ['__cfduid=dac637b8992c36f906b7514612ca1ecca1459303224; expires=Thu,
          30-Mar-17 02:00:24 GMT; path=/; domain=.cloudflare.com; HttpOnly']
      strict-transport-security: [max-age=31536000]
      x-content-type-options: [nosniff]
      x-frame-options: [SAMEORIGIN]
    status: {code: 200, message: OK}
- request:
    body: '{}'
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['2']
      Content-Type: [application/json]
      User-Agent: [python-requests/2.9.1]
    method: GET
    uri: https://api.cloudflare.com/client/v4/zones/fac516c650e5a737bdc3e1e3dc1047f3/dns_records?per_page=100&type=TXT&name=delete.testid.capsulecd.com
  response:
    body: {string: !!python/unicode '{"result":[],"result_info":{"page":1,"per_page":100,"total_pages":0,"count":0,"total_count":0},"success":true,"errors":[],"messages":[]}'}
    headers:
      cache-control: ['no-store, no-cache, must-revalidate, post-check=0, pre-check=0']
      cf-ray: [28b7f844979a2864-SJC]
      connection: [keep-alive]
      content-length: ['136']
      content-type: [application/json]
      date: ['Wed, 30 Mar 2016 02:00:45 GMT']
      expires: ['Sun, 25 Jan 1981 05:00:00 GMT']
      pragma: [no-cache]
      server: [cloudflare-nginx]
      set-cookie: ['__cfduid=d7b0dacab6722f5bf92e60ec10472a3001459303245; expires=Thu,
          30-Mar-17 02:00:45 GMT; path=/; domain=.cloudflare.com; HttpOnly']
      strict-transport-security: [max-age=31536000]
      transfer-encoding: [chunked]
      x-content-type-options: [nosniff]
      x-frame-options: [SAMEORIGIN]
    status: {code: 200, message: OK}
version: 1