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

« back to all changes in this revision

Viewing changes to tests/fixtures/cassettes/vultr/IntegrationTests/test_Provider_when_calling_update_record_with_full_name_should_modify_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: [application/json]
 
6
      Accept-Encoding: ['gzip, deflate']
 
7
      Connection: [keep-alive]
 
8
      User-Agent: [python-requests/2.9.1]
 
9
    method: GET
 
10
    uri: https://api.vultr.com/v1/dns/list
 
11
  response:
 
12
    body: {string: !!python/unicode '[{"domain":"capsulecd.com","date_created":"2016-04-13
 
13
        19:03:44"}]'}
 
14
    headers:
 
15
      cache-control: [no-cache]
 
16
      connection: [keep-alive]
 
17
      content-length: ['65']
 
18
      content-type: [application/json]
 
19
      date: ['Thu, 14 Apr 2016 00:26:06 GMT']
 
20
      expires: ['Thu, 14 Apr 2016 00:26:05 GMT']
 
21
      server: [nginx]
 
22
      strict-transport-security: [max-age=31536000]
 
23
      x-content-type-options: [nosniff]
 
24
      x-frame-options: [DENY]
 
25
    status: {code: 200, message: OK}
 
26
- request:
 
27
    body: priority=0&data=%22challengetoken%22&domain=capsulecd.com&type=TXT&name=orig.testfull
 
28
    headers:
 
29
      Accept: [application/json]
 
30
      Accept-Encoding: ['gzip, deflate']
 
31
      Connection: [keep-alive]
 
32
      Content-Length: ['85']
 
33
      Content-Type: [application/x-www-form-urlencoded]
 
34
      User-Agent: [python-requests/2.9.1]
 
35
    method: POST
 
36
    uri: https://api.vultr.com/v1/dns/create_record
 
37
  response:
 
38
    body: {string: !!python/unicode ''}
 
39
    headers:
 
40
      cache-control: [no-cache]
 
41
      connection: [keep-alive]
 
42
      content-length: ['0']
 
43
      content-type: [text/html; charset=UTF-8]
 
44
      date: ['Thu, 14 Apr 2016 00:26:11 GMT']
 
45
      expires: ['Thu, 14 Apr 2016 00:26:10 GMT']
 
46
      server: [nginx]
 
47
      strict-transport-security: [max-age=31536000]
 
48
      x-content-type-options: [nosniff]
 
49
      x-frame-options: [DENY]
 
50
    status: {code: 200, message: OK}
 
51
- request:
 
52
    body: null
 
53
    headers:
 
54
      Accept: [application/json]
 
55
      Accept-Encoding: ['gzip, deflate']
 
56
      Connection: [keep-alive]
 
57
      User-Agent: [python-requests/2.9.1]
 
58
    method: GET
 
59
    uri: https://api.vultr.com/v1/dns/records?domain=capsulecd.com
 
60
  response:
 
61
    body: {string: !!python/unicode '[{"type":"A","name":"localhost","data":"127.0.0.1","priority":0,"RECORDID":2051670},{"type":"CNAME","name":"docs","data":"docs.example.com","priority":0,"RECORDID":2051671},{"type":"TXT","name":"orig.test","data":"\"challengetoken\"","priority":0,"RECORDID":2051716},{"type":"TXT","name":"orig.testfqdn","data":"\"challengetoken\"","priority":0,"RECORDID":2051717},{"type":"TXT","name":"orig.testfull","data":"\"challengetoken\"","priority":0,"RECORDID":2051718},{"type":"TXT","name":"random.fqdntest","data":"\"challengetoken\"","priority":0,"RECORDID":2051680},{"type":"TXT","name":"random.fulltest","data":"\"challengetoken\"","priority":0,"RECORDID":2051681},{"type":"TXT","name":"random.test","data":"\"challengetoken\"","priority":0,"RECORDID":2051682},{"type":"TXT","name":"_acme-challenge.full","data":"\"challengetoken\"","priority":0,"RECORDID":2051668}]'}
 
62
    headers:
 
63
      cache-control: [no-cache]
 
64
      connection: [keep-alive]
 
65
      content-length: ['864']
 
66
      content-type: [application/json]
 
67
      date: ['Thu, 14 Apr 2016 00:26:12 GMT']
 
68
      expires: ['Thu, 14 Apr 2016 00:26:11 GMT']
 
69
      server: [nginx]
 
70
      strict-transport-security: [max-age=31536000]
 
71
      x-content-type-options: [nosniff]
 
72
      x-frame-options: [DENY]
 
73
    status: {code: 200, message: OK}
 
74
- request:
 
75
    body: RECORDID=2051718&domain=capsulecd.com&data=%22challengetoken%22&name=updated.testfull&ttl=300
 
76
    headers:
 
77
      Accept: [application/json]
 
78
      Accept-Encoding: ['gzip, deflate']
 
79
      Connection: [keep-alive]
 
80
      Content-Length: ['93']
 
81
      Content-Type: [application/x-www-form-urlencoded]
 
82
      User-Agent: [python-requests/2.9.1]
 
83
    method: POST
 
84
    uri: https://api.vultr.com/v1/dns/update_record
 
85
  response:
 
86
    body: {string: !!python/unicode ''}
 
87
    headers:
 
88
      cache-control: [no-cache]
 
89
      connection: [keep-alive]
 
90
      content-length: ['0']
 
91
      content-type: [text/html; charset=UTF-8]
 
92
      date: ['Thu, 14 Apr 2016 00:26:16 GMT']
 
93
      expires: ['Thu, 14 Apr 2016 00:26:15 GMT']
 
94
      server: [nginx]
 
95
      strict-transport-security: [max-age=31536000]
 
96
      transfer-encoding: [chunked]
 
97
      x-content-type-options: [nosniff]
 
98
      x-frame-options: [DENY]
 
99
    status: {code: 200, message: OK}
 
100
version: 1