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

« back to all changes in this revision

Viewing changes to tests/fixtures/cassettes/ovh/IntegrationTests/test_Provider_when_calling_update_record_should_modify_record_name_specified.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.17.3]
 
9
    method: GET
 
10
    uri: https://eu.api.ovh.com/1.0/auth/time
 
11
  response:
 
12
    body: {string: '1497441456'}
 
13
    headers:
 
14
      Access-Control-Allow-Origin: ['*']
 
15
      Cache-Control: [no-cache]
 
16
      Connection: [Keep-Alive]
 
17
      Content-Type: [application/json; charset=utf-8]
 
18
      Date: ['Wed, 14 Jun 2017 11:57:36 GMT']
 
19
      Keep-Alive: ['timeout=15, max=100']
 
20
      Server: [Apache]
 
21
      Transfer-Encoding: [chunked]
 
22
      X-OVH-QUERYID: [FR.ws-7.594124b0.22036.2103]
 
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.17.3]
 
31
      X-Ovh-Timestamp: ['1497441456']
 
32
    method: GET
 
33
    uri: https://eu.api.ovh.com/1.0/domain/zone/
 
34
  response:
 
35
    body: {string: '["elogium.net"]'}
 
36
    headers:
 
37
      Access-Control-Allow-Origin: ['*']
 
38
      Cache-Control: [no-cache]
 
39
      Connection: [Keep-Alive]
 
40
      Content-Type: [application/json; charset=utf-8]
 
41
      Date: ['Wed, 14 Jun 2017 11:57:36 GMT']
 
42
      Keep-Alive: ['timeout=15, max=99']
 
43
      Server: [Apache]
 
44
      Transfer-Encoding: [chunked]
 
45
      X-OVH-QUERYID: [FR.ws-7.594124b0.22036.2571]
 
46
      X-RECRUITMENT: ['You know how to code? This is a good start, but it may not
 
47
          be enough! We are looking for engineers who LOVE coding. Programming enthusiasts,
 
48
          code aesthetes, CTF winners, ... In short, geeks eager to learn, obstinate,
 
49
          involved. You want to challenge yourself? Join us! http://ovh.jobs']
 
50
    status: {code: 200, message: OK}
 
51
- request:
 
52
    body: null
 
53
    headers:
 
54
      Accept: ['*/*']
 
55
      Accept-Encoding: ['gzip, deflate']
 
56
      Connection: [keep-alive]
 
57
      User-Agent: [python-requests/2.17.3]
 
58
      X-Ovh-Timestamp: ['1497441456']
 
59
    method: GET
 
60
    uri: https://eu.api.ovh.com/1.0/domain/zone/elogium.net/status
 
61
  response:
 
62
    body: {string: '{"warnings":null,"errors":null,"isDeployed":true}'}
 
63
    headers:
 
64
      Access-Control-Allow-Origin: ['*']
 
65
      Cache-Control: [no-cache]
 
66
      Connection: [Keep-Alive]
 
67
      Content-Type: [application/json; charset=utf-8]
 
68
      Date: ['Wed, 14 Jun 2017 11:57:36 GMT']
 
69
      Keep-Alive: ['timeout=15, max=98']
 
70
      Server: [Apache]
 
71
      Transfer-Encoding: [chunked]
 
72
      X-OVH-QUERYID: [FR.ws-7.594124b0.24047.0170]
 
73
      X-RECRUITMENT: ['You know how to code? This is a good start, but it may not
 
74
          be enough! We are looking for engineers who LOVE coding. Programming enthusiasts,
 
75
          code aesthetes, CTF winners, ... In short, geeks eager to learn, obstinate,
 
76
          involved. You want to challenge yourself? Join us! http://ovh.jobs']
 
77
    status: {code: 200, message: OK}
 
78
- request:
 
79
    body: '{"fieldType": "TXT", "subDomain": "orig.nameonly.test", "target": "challengetoken",
 
80
      "ttl": 3600}'
 
81
    headers:
 
82
      Accept: ['*/*']
 
83
      Accept-Encoding: ['gzip, deflate']
 
84
      Connection: [keep-alive]
 
85
      Content-Length: ['96']
 
86
      Content-type: [application/json]
 
87
      User-Agent: [python-requests/2.17.3]
 
88
      X-Ovh-Timestamp: ['1497441456']
 
89
    method: POST
 
90
    uri: https://eu.api.ovh.com/1.0/domain/zone/elogium.net/record
 
91
  response:
 
92
    body: {string: '{"target":"challengetoken","ttl":3600,"zone":"elogium.net","fieldType":"TXT","id":1466302827,"subDomain":"orig.nameonly.test"}'}
 
93
    headers:
 
94
      Access-Control-Allow-Origin: ['*']
 
95
      Cache-Control: [no-cache]
 
96
      Connection: [Keep-Alive]
 
97
      Content-Type: [application/json; charset=utf-8]
 
98
      Date: ['Wed, 14 Jun 2017 11:57:36 GMT']
 
99
      Keep-Alive: ['timeout=15, max=97']
 
100
      Server: [Apache]
 
101
      Transfer-Encoding: [chunked]
 
102
      X-OVH-QUERYID: [FR.ws-7.594124b0.24047.8143]
 
103
      X-RECRUITMENT: ['You know how to code? This is a good start, but it may not
 
104
          be enough! We are looking for engineers who LOVE coding. Programming enthusiasts,
 
105
          code aesthetes, CTF winners, ... In short, geeks eager to learn, obstinate,
 
106
          involved. You want to challenge yourself? Join us! http://ovh.jobs']
 
107
    status: {code: 200, message: OK}
 
108
- request:
 
109
    body: null
 
110
    headers:
 
111
      Accept: ['*/*']
 
112
      Accept-Encoding: ['gzip, deflate']
 
113
      Connection: [keep-alive]
 
114
      Content-Length: ['0']
 
115
      User-Agent: [python-requests/2.17.3]
 
116
      X-Ovh-Timestamp: ['1497441456']
 
117
    method: POST
 
118
    uri: https://eu.api.ovh.com/1.0/domain/zone/elogium.net/refresh
 
119
  response:
 
120
    body: {string: 'null'}
 
121
    headers:
 
122
      Access-Control-Allow-Origin: ['*']
 
123
      Cache-Control: [no-cache]
 
124
      Connection: [Keep-Alive]
 
125
      Content-Type: [application/json; charset=utf-8]
 
126
      Date: ['Wed, 14 Jun 2017 11:57:37 GMT']
 
127
      Keep-Alive: ['timeout=15, max=96']
 
128
      Server: [Apache]
 
129
      Transfer-Encoding: [chunked]
 
130
      X-OVH-QUERYID: [FR.ws-7.594124b1.24047.7469]
 
131
      X-RECRUITMENT: ['You know how to code? This is a good start, but it may not
 
132
          be enough! We are looking for engineers who LOVE coding. Programming enthusiasts,
 
133
          code aesthetes, CTF winners, ... In short, geeks eager to learn, obstinate,
 
134
          involved. You want to challenge yourself? Join us! http://ovh.jobs']
 
135
    status: {code: 200, message: OK}
 
136
- request:
 
137
    body: null
 
138
    headers:
 
139
      Accept: ['*/*']
 
140
      Accept-Encoding: ['gzip, deflate']
 
141
      Connection: [keep-alive]
 
142
      User-Agent: [python-requests/2.17.3]
 
143
      X-Ovh-Timestamp: ['1497441457']
 
144
    method: GET
 
145
    uri: https://eu.api.ovh.com/1.0/domain/zone/elogium.net/record?fieldType=TXT&subDomain=orig.nameonly.test
 
146
  response:
 
147
    body: {string: '[1466302827]'}
 
148
    headers:
 
149
      Access-Control-Allow-Origin: ['*']
 
150
      Cache-Control: [no-cache]
 
151
      Connection: [Keep-Alive]
 
152
      Content-Type: [application/json; charset=utf-8]
 
153
      Date: ['Wed, 14 Jun 2017 11:57:37 GMT']
 
154
      Keep-Alive: ['timeout=15, max=95']
 
155
      Server: [Apache]
 
156
      Transfer-Encoding: [chunked]
 
157
      X-OVH-QUERYID: [FR.ws-7.594124b1.22036.7451]
 
158
      X-RECRUITMENT: ['You know how to code? This is a good start, but it may not
 
159
          be enough! We are looking for engineers who LOVE coding. Programming enthusiasts,
 
160
          code aesthetes, CTF winners, ... In short, geeks eager to learn, obstinate,
 
161
          involved. You want to challenge yourself? Join us! http://ovh.jobs']
 
162
    status: {code: 200, message: OK}
 
163
- request:
 
164
    body: null
 
165
    headers:
 
166
      Accept: ['*/*']
 
167
      Accept-Encoding: ['gzip, deflate']
 
168
      Connection: [keep-alive]
 
169
      User-Agent: [python-requests/2.17.3]
 
170
      X-Ovh-Timestamp: ['1497441457']
 
171
    method: GET
 
172
    uri: https://eu.api.ovh.com/1.0/domain/zone/elogium.net/record/1466302827
 
173
  response:
 
174
    body: {string: '{"target":"challengetoken","ttl":3600,"zone":"elogium.net","fieldType":"TXT","id":1466302827,"subDomain":"orig.nameonly.test"}'}
 
175
    headers:
 
176
      Access-Control-Allow-Origin: ['*']
 
177
      Cache-Control: [no-cache]
 
178
      Connection: [Keep-Alive]
 
179
      Content-Type: [application/json; charset=utf-8]
 
180
      Date: ['Wed, 14 Jun 2017 11:57:37 GMT']
 
181
      Keep-Alive: ['timeout=15, max=94']
 
182
      Server: [Apache]
 
183
      Transfer-Encoding: [chunked]
 
184
      X-OVH-QUERYID: [FR.ws-7.594124b1.32032.7033]
 
185
      X-RECRUITMENT: ['You know how to code? This is a good start, but it may not
 
186
          be enough! We are looking for engineers who LOVE coding. Programming enthusiasts,
 
187
          code aesthetes, CTF winners, ... In short, geeks eager to learn, obstinate,
 
188
          involved. You want to challenge yourself? Join us! http://ovh.jobs']
 
189
    status: {code: 200, message: OK}
 
190
- request:
 
191
    body: '{"subDomain": "orig.nameonly.test", "target": "updated"}'
 
192
    headers:
 
193
      Accept: ['*/*']
 
194
      Accept-Encoding: ['gzip, deflate']
 
195
      Connection: [keep-alive]
 
196
      Content-Length: ['56']
 
197
      Content-type: [application/json]
 
198
      User-Agent: [python-requests/2.17.3]
 
199
      X-Ovh-Timestamp: ['1497441457']
 
200
    method: PUT
 
201
    uri: https://eu.api.ovh.com/1.0/domain/zone/elogium.net/record/1466302827
 
202
  response:
 
203
    body: {string: 'null'}
 
204
    headers:
 
205
      Access-Control-Allow-Origin: ['*']
 
206
      Cache-Control: [no-cache]
 
207
      Connection: [Keep-Alive]
 
208
      Content-Type: [application/json; charset=utf-8]
 
209
      Date: ['Wed, 14 Jun 2017 11:57:37 GMT']
 
210
      Keep-Alive: ['timeout=15, max=93']
 
211
      Server: [Apache]
 
212
      Transfer-Encoding: [chunked]
 
213
      X-OVH-QUERYID: [FR.ws-7.594124b1.31488.8575]
 
214
      X-RECRUITMENT: ['You know how to code? This is a good start, but it may not
 
215
          be enough! We are looking for engineers who LOVE coding. Programming enthusiasts,
 
216
          code aesthetes, CTF winners, ... In short, geeks eager to learn, obstinate,
 
217
          involved. You want to challenge yourself? Join us! http://ovh.jobs']
 
218
    status: {code: 200, message: OK}
 
219
- request:
 
220
    body: null
 
221
    headers:
 
222
      Accept: ['*/*']
 
223
      Accept-Encoding: ['gzip, deflate']
 
224
      Connection: [keep-alive]
 
225
      Content-Length: ['0']
 
226
      User-Agent: [python-requests/2.17.3]
 
227
      X-Ovh-Timestamp: ['1497441457']
 
228
    method: POST
 
229
    uri: https://eu.api.ovh.com/1.0/domain/zone/elogium.net/refresh
 
230
  response:
 
231
    body: {string: 'null'}
 
232
    headers:
 
233
      Access-Control-Allow-Origin: ['*']
 
234
      Cache-Control: [no-cache]
 
235
      Connection: [Keep-Alive]
 
236
      Content-Type: [application/json; charset=utf-8]
 
237
      Date: ['Wed, 14 Jun 2017 11:57:37 GMT']
 
238
      Keep-Alive: ['timeout=15, max=92']
 
239
      Server: [Apache]
 
240
      Transfer-Encoding: [chunked]
 
241
      X-OVH-QUERYID: [FR.ws-7.594124b1.31428.3952]
 
242
      X-RECRUITMENT: ['You know how to code? This is a good start, but it may not
 
243
          be enough! We are looking for engineers who LOVE coding. Programming enthusiasts,
 
244
          code aesthetes, CTF winners, ... In short, geeks eager to learn, obstinate,
 
245
          involved. You want to challenge yourself? Join us! http://ovh.jobs']
 
246
    status: {code: 200, message: OK}
 
247
version: 1