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

« back to all changes in this revision

Viewing changes to tests/fixtures/cassettes/dnspod/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: domain=capsulecd.com&format=json
 
4
    headers:
 
5
      Accept: ['*/*']
 
6
      Accept-Encoding: ['gzip, deflate']
 
7
      Connection: [keep-alive]
 
8
      Content-Length: ['85']
 
9
      Content-Type: [application/x-www-form-urlencoded]
 
10
      User-Agent: [python-requests/2.9.1]
 
11
    method: POST
 
12
    uri: https://dnsapi.cn/Domain.Info
 
13
  response:
 
14
    body: {string: !!python/unicode '{"status":{"code":"1","message":"Action completed
 
15
        successful","created_at":"2016-05-11 03:26:54"},"domain":{"id":"38280687","name":"capsulecd.com","punycode":"capsulecd.com","grade":"DP_Free","grade_title":"\u65b0\u514d\u8d39\u5957\u9910","status":"enable","ext_status":"dnserror","records":"2","group_id":"1","is_mark":"no","remark":false,"is_vip":"no","searchengine_push":"yes","user_id":"1446297","created_on":"2016-05-11
 
16
        02:35:23","updated_on":"2016-05-11 02:35:23","ttl":"600","cname_speedup":"disable","owner":"lexicon@mailinator.com"}}'}
 
17
    headers:
 
18
      cache-control: ['no-store, no-cache, must-revalidate, post-check=0, pre-check=0']
 
19
      connection: [keep-alive]
 
20
      content-length: ['542']
 
21
      content-type: [text/html;charset=UTF-8]
 
22
      date: ['Tue, 10 May 2016 19:26:54 GMT']
 
23
      etag: [W/"7ce934e7eaef46c5e5cd2e57bc05b816"]
 
24
      expires: ['Tue, 10 May 2016 21:26:54 GMT']
 
25
      pragma: [no-cache]
 
26
      server: [nginx]
 
27
      set-cookie: [DNSPODID=r35rktbpfc6hf6gnghgv0ea3h2; path=/; secure; HttpOnly,
 
28
        '_xsrf=24613fec6513aed49b57162f3ea5623f%7C1462908414; expires=Tue, 17-May-2016
 
29
          19:26:54 GMT; Max-Age=604800; path=/']
 
30
      x-ua-compatible: ['IE=Edge,chrome=1']
 
31
    status: {code: 200, message: OK}
 
32
- request:
 
33
    body: record_line=%E9%BB%98%E8%AE%A4&format=json&value=challengetoken&record_type=TXT&sub_domain=delete.testid&domain_id=38280687
 
34
    headers:
 
35
      Accept: ['*/*']
 
36
      Accept-Encoding: ['gzip, deflate']
 
37
      Connection: [keep-alive]
 
38
      Content-Length: ['176']
 
39
      Content-Type: [application/x-www-form-urlencoded]
 
40
      User-Agent: [python-requests/2.9.1]
 
41
    method: POST
 
42
    uri: https://dnsapi.cn/Record.Create
 
43
  response:
 
44
    body: {string: !!python/unicode '{"status":{"code":"1","message":"Action completed
 
45
        successful","created_at":"2016-05-11 03:27:11"},"record":{"id":"189595901","name":"delete.testid","status":"enabled","weight":null}}'}
 
46
    headers:
 
47
      cache-control: ['no-store, no-cache, must-revalidate, post-check=0, pre-check=0']
 
48
      connection: [keep-alive]
 
49
      content-length: ['182']
 
50
      content-type: [text/html;charset=UTF-8]
 
51
      date: ['Tue, 10 May 2016 19:27:11 GMT']
 
52
      etag: [W/"2c85edd3a8f30a703ccc76fa32f05111"]
 
53
      expires: ['Tue, 10 May 2016 21:27:11 GMT']
 
54
      pragma: [no-cache]
 
55
      server: [nginx]
 
56
      set-cookie: [DNSPODID=b75i0b7rk4rfbau0clq3n7s5j6; path=/; secure; HttpOnly,
 
57
        '_xsrf=1837b5bf99c74526ce5e4da9cba7a7c7%7C1462908431; expires=Tue, 17-May-2016
 
58
          19:27:11 GMT; Max-Age=604800; path=/']
 
59
      x-ua-compatible: ['IE=Edge,chrome=1']
 
60
    status: {code: 200, message: OK}
 
61
- request:
 
62
    body: domain=capsulecd.com&format=json
 
63
    headers:
 
64
      Accept: ['*/*']
 
65
      Accept-Encoding: ['gzip, deflate']
 
66
      Connection: [keep-alive]
 
67
      Content-Length: ['85']
 
68
      Content-Type: [application/x-www-form-urlencoded]
 
69
      User-Agent: [python-requests/2.9.1]
 
70
    method: POST
 
71
    uri: https://dnsapi.cn/Record.List
 
72
  response:
 
73
    body: {string: !!python/unicode '{"status":{"code":"1","message":"Action completed
 
74
        successful","created_at":"2016-05-11 03:27:32"},"domain":{"id":"38280687","name":"capsulecd.com","punycode":"capsulecd.com","grade":"DP_Free","owner":"lexicon@mailinator.com"},"info":{"sub_domains":"3","record_total":"3"},"records":[{"id":"189590584","name":"@","line":"\u9ed8\u8ba4","type":"NS","ttl":"86400","value":"f1g1ns1.dnspod.net.","weight":null,"mx":"0","enabled":"1","status":"enabled","monitor_status":"","remark":"","updated_on":"2016-05-11
 
75
        02:35:23","use_aqb":"no","hold":"hold"},{"id":"189590585","name":"@","line":"\u9ed8\u8ba4","type":"NS","ttl":"86400","value":"f1g1ns2.dnspod.net.","weight":null,"mx":"0","enabled":"1","status":"enabled","monitor_status":"","remark":"","updated_on":"2016-05-11
 
76
        02:35:23","use_aqb":"no","hold":"hold"},{"id":"189595901","name":"delete.testid","line":"\u9ed8\u8ba4","type":"TXT","ttl":"600","value":"challengetoken","weight":null,"mx":"0","enabled":"1","status":"enabled","monitor_status":"","remark":"","updated_on":"2016-05-11
 
77
        03:27:11","use_aqb":"no"}]}'}
 
78
    headers:
 
79
      cache-control: ['no-store, no-cache, must-revalidate, post-check=0, pre-check=0']
 
80
      connection: [keep-alive]
 
81
      content-length: ['1056']
 
82
      content-type: [text/html;charset=UTF-8]
 
83
      date: ['Tue, 10 May 2016 19:27:32 GMT']
 
84
      etag: [W/"822276a17b46f63d3efa1b57b4004a80"]
 
85
      expires: ['Tue, 10 May 2016 21:27:32 GMT']
 
86
      pragma: [no-cache]
 
87
      server: [nginx]
 
88
      set-cookie: [DNSPODID=38hg17ns70t7l993elnbnsu566; path=/; secure; HttpOnly,
 
89
        '_xsrf=e6fd911a5e9ef66e4400c89a656735a3%7C1462908452; expires=Tue, 17-May-2016
 
90
          19:27:32 GMT; Max-Age=604800; path=/']
 
91
      x-ua-compatible: ['IE=Edge,chrome=1']
 
92
    status: {code: 200, message: OK}
 
93
- request:
 
94
    body: record_id=189595901&domain_id=38280687&format=json
 
95
    headers:
 
96
      Accept: ['*/*']
 
97
      Accept-Encoding: ['gzip, deflate']
 
98
      Connection: [keep-alive]
 
99
      Content-Length: ['103']
 
100
      Content-Type: [application/x-www-form-urlencoded]
 
101
      User-Agent: [python-requests/2.9.1]
 
102
    method: POST
 
103
    uri: https://dnsapi.cn/Record.Remove
 
104
  response:
 
105
    body: {string: !!python/unicode '{"status":{"code":"1","message":"Action completed
 
106
        successful","created_at":"2016-05-11 03:28:14"}}'}
 
107
    headers:
 
108
      cache-control: ['no-store, no-cache, must-revalidate, post-check=0, pre-check=0']
 
109
      connection: [keep-alive]
 
110
      content-length: ['98']
 
111
      content-type: [text/html;charset=UTF-8]
 
112
      date: ['Tue, 10 May 2016 19:28:14 GMT']
 
113
      etag: [W/"d5ef23ff7759739fb401b0e3a6d98f46"]
 
114
      expires: ['Tue, 10 May 2016 21:28:14 GMT']
 
115
      pragma: [no-cache]
 
116
      server: [nginx]
 
117
      set-cookie: [DNSPODID=cprppmd5aa2gburovlq2rfaoq3; path=/; secure; HttpOnly,
 
118
        '_xsrf=ad33bb0d1b9e41e1891f8461c9ecae2b%7C1462908494; expires=Tue, 17-May-2016
 
119
          19:28:14 GMT; Max-Age=604800; path=/']
 
120
      x-ua-compatible: ['IE=Edge,chrome=1']
 
121
    status: {code: 200, message: OK}
 
122
- request:
 
123
    body: domain=capsulecd.com&format=json
 
124
    headers:
 
125
      Accept: ['*/*']
 
126
      Accept-Encoding: ['gzip, deflate']
 
127
      Connection: [keep-alive]
 
128
      Content-Length: ['85']
 
129
      Content-Type: [application/x-www-form-urlencoded]
 
130
      User-Agent: [python-requests/2.9.1]
 
131
    method: POST
 
132
    uri: https://dnsapi.cn/Record.List
 
133
  response:
 
134
    body: {string: !!python/unicode '{"status":{"code":"1","message":"Action completed
 
135
        successful","created_at":"2016-05-11 03:28:47"},"domain":{"id":"38280687","name":"capsulecd.com","punycode":"capsulecd.com","grade":"DP_Free","owner":"lexicon@mailinator.com"},"info":{"sub_domains":"2","record_total":"2"},"records":[{"id":"189590584","name":"@","line":"\u9ed8\u8ba4","type":"NS","ttl":"86400","value":"f1g1ns1.dnspod.net.","weight":null,"mx":"0","enabled":"1","status":"enabled","monitor_status":"","remark":"","updated_on":"2016-05-11
 
136
        02:35:23","use_aqb":"no","hold":"hold"},{"id":"189590585","name":"@","line":"\u9ed8\u8ba4","type":"NS","ttl":"86400","value":"f1g1ns2.dnspod.net.","weight":null,"mx":"0","enabled":"1","status":"enabled","monitor_status":"","remark":"","updated_on":"2016-05-11
 
137
        02:35:23","use_aqb":"no","hold":"hold"}]}'}
 
138
    headers:
 
139
      cache-control: ['no-store, no-cache, must-revalidate, post-check=0, pre-check=0']
 
140
      connection: [keep-alive]
 
141
      content-length: ['804']
 
142
      content-type: [text/html;charset=UTF-8]
 
143
      date: ['Tue, 10 May 2016 19:28:47 GMT']
 
144
      etag: [W/"e787966395c3cea59f360ec79ffcbfa8"]
 
145
      expires: ['Tue, 10 May 2016 21:28:47 GMT']
 
146
      pragma: [no-cache]
 
147
      server: [nginx]
 
148
      set-cookie: [DNSPODID=rko25p8dievmhhepr3b95c2nv2; path=/; secure; HttpOnly,
 
149
        '_xsrf=f27cf1c293db8c11577314d0ba4bc413%7C1462908527; expires=Tue, 17-May-2016
 
150
          19:28:47 GMT; Max-Age=604800; path=/']
 
151
      transfer-encoding: [chunked]
 
152
      x-ua-compatible: ['IE=Edge,chrome=1']
 
153
    status: {code: 200, message: OK}
 
154
version: 1