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

« back to all changes in this revision

Viewing changes to tests/fixtures/cassettes/cloudns/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: null
 
4
    headers:
 
5
      Accept: ['*/*']
 
6
      Accept-Encoding: ['gzip, deflate']
 
7
      Connection: [keep-alive]
 
8
      User-Agent: [python-requests/2.18.3]
 
9
    method: GET
 
10
    uri: https://api.cloudns.net/dns/get-zone-info.json?domain-name=api-example.com
 
11
  response:
 
12
    body: {string: '{"name":"api-example.com","type":"master","zone":"domain","status":"1"}'}
 
13
    headers:
 
14
      Connection: [Keep-Alive]
 
15
      Content-Length: ['71']
 
16
      Content-Type: [application/json]
 
17
      Date: ['Fri, 04 Aug 2017 21:44:36 GMT']
 
18
      Keep-Alive: [timeout=5]
 
19
      Server: [Apache]
 
20
      X-Content-Type-Options: [nosniff]
 
21
      X-Frame-Options: [SAMEORIGIN]
 
22
      X-XSS-Protection: [1; mode=block]
 
23
    status: {code: 200, message: OK}
 
24
- request:
 
25
    body: null
 
26
    headers:
 
27
      Accept: ['*/*']
 
28
      Accept-Encoding: ['gzip, deflate']
 
29
      Connection: [keep-alive]
 
30
      User-Agent: [python-requests/2.18.3]
 
31
    method: GET
 
32
    uri: https://api.cloudns.net/dns/records.json?domain-name=api-example.com&host=delete.testfull&type=TXT
 
33
  response:
 
34
    body: {string: '[]'}
 
35
    headers:
 
36
      Connection: [Keep-Alive]
 
37
      Content-Length: ['2']
 
38
      Content-Type: [application/json]
 
39
      Date: ['Fri, 04 Aug 2017 21:44:37 GMT']
 
40
      Keep-Alive: [timeout=5]
 
41
      Server: [Apache]
 
42
      X-Content-Type-Options: [nosniff]
 
43
      X-Frame-Options: [SAMEORIGIN]
 
44
      X-XSS-Protection: [1; mode=block]
 
45
    status: {code: 200, message: OK}
 
46
- request:
 
47
    body: domain-name=api-example.com&record-type=TXT&host=delete.testfull&record=challengetoken&ttl=3600&priority=placeholder_priority&weight=placeholder_weight&port=placeholder_port
 
48
    headers:
 
49
      Accept: ['*/*']
 
50
      Accept-Encoding: ['gzip, deflate']
 
51
      Connection: [keep-alive]
 
52
      Content-Length: ['217']
 
53
      Content-Type: [application/x-www-form-urlencoded]
 
54
      User-Agent: [python-requests/2.18.3]
 
55
    method: POST
 
56
    uri: https://api.cloudns.net/dns/add-record.json
 
57
  response:
 
58
    body: {string: '{"status":"Success","statusDescription":"The record was added
 
59
        successfully.","data":{"id":30776952}}'}
 
60
    headers:
 
61
      Connection: [Keep-Alive]
 
62
      Content-Length: ['100']
 
63
      Content-Type: [application/json]
 
64
      Date: ['Fri, 04 Aug 2017 21:44:37 GMT']
 
65
      Keep-Alive: [timeout=5]
 
66
      Server: [Apache]
 
67
      X-Content-Type-Options: [nosniff]
 
68
      X-Frame-Options: [SAMEORIGIN]
 
69
      X-XSS-Protection: [1; mode=block]
 
70
    status: {code: 200, message: OK}
 
71
- request:
 
72
    body: null
 
73
    headers:
 
74
      Accept: ['*/*']
 
75
      Accept-Encoding: ['gzip, deflate']
 
76
      Connection: [keep-alive]
 
77
      User-Agent: [python-requests/2.18.3]
 
78
    method: GET
 
79
    uri: https://api.cloudns.net/dns/records.json?domain-name=api-example.com&host=delete.testfull&type=TXT
 
80
  response:
 
81
    body: {string: '{"30776952":{"id":"30776952","type":"TXT","host":"delete.testfull","record":"challengetoken","ttl":"3600","status":1}}'}
 
82
    headers:
 
83
      Connection: [Keep-Alive]
 
84
      Content-Length: ['118']
 
85
      Content-Type: [application/json]
 
86
      Date: ['Fri, 04 Aug 2017 21:44:37 GMT']
 
87
      Keep-Alive: [timeout=5]
 
88
      Server: [Apache]
 
89
      X-Content-Type-Options: [nosniff]
 
90
      X-Frame-Options: [SAMEORIGIN]
 
91
      X-XSS-Protection: [1; mode=block]
 
92
    status: {code: 200, message: OK}
 
93
- request:
 
94
    body: domain-name=api-example.com&record-id=30776952
 
95
    headers:
 
96
      Accept: ['*/*']
 
97
      Accept-Encoding: ['gzip, deflate']
 
98
      Connection: [keep-alive]
 
99
      Content-Length: ['90']
 
100
      Content-Type: [application/x-www-form-urlencoded]
 
101
      User-Agent: [python-requests/2.18.3]
 
102
    method: POST
 
103
    uri: https://api.cloudns.net/dns/delete-record.json
 
104
  response:
 
105
    body: {string: '{"status":"Success","statusDescription":"The record was deleted
 
106
        successfully."}'}
 
107
    headers:
 
108
      Connection: [Keep-Alive]
 
109
      Content-Length: ['79']
 
110
      Content-Type: [application/json]
 
111
      Date: ['Fri, 04 Aug 2017 21:44:37 GMT']
 
112
      Keep-Alive: [timeout=5]
 
113
      Server: [Apache]
 
114
      X-Content-Type-Options: [nosniff]
 
115
      X-Frame-Options: [SAMEORIGIN]
 
116
      X-XSS-Protection: [1; mode=block]
 
117
    status: {code: 200, message: OK}
 
118
- request:
 
119
    body: null
 
120
    headers:
 
121
      Accept: ['*/*']
 
122
      Accept-Encoding: ['gzip, deflate']
 
123
      Connection: [keep-alive]
 
124
      User-Agent: [python-requests/2.18.3]
 
125
    method: GET
 
126
    uri: https://api.cloudns.net/dns/records.json?domain-name=api-example.com&host=delete.testfull&type=TXT
 
127
  response:
 
128
    body: {string: '[]'}
 
129
    headers:
 
130
      Connection: [Keep-Alive]
 
131
      Content-Length: ['2']
 
132
      Content-Type: [application/json]
 
133
      Date: ['Fri, 04 Aug 2017 21:44:37 GMT']
 
134
      Keep-Alive: [timeout=5]
 
135
      Server: [Apache]
 
136
      X-Content-Type-Options: [nosniff]
 
137
      X-Frame-Options: [SAMEORIGIN]
 
138
      X-XSS-Protection: [1; mode=block]
 
139
    status: {code: 200, message: OK}
 
140
version: 1