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

« back to all changes in this revision

Viewing changes to tests/fixtures/cassettes/namesilo/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: ['*/*']
 
6
      Accept-Encoding: ['gzip, deflate']
 
7
      Connection: [keep-alive]
 
8
      User-Agent: [python-requests/2.9.1]
 
9
    method: GET
 
10
    uri: http://sandbox.namesilo.com/api/getDomainInfo?domain=capsulecdfake.com&type=xml&version=1
 
11
  response:
 
12
    body: {string: !!python/unicode '<?xml version="1.0"?>
 
13
 
 
14
        <namesilo><request><operation>getDomainInfo</operation><ip>208.72.142.184</ip></request><reply><code>300</code><detail>success</detail><created>2016-04-02</created><expires>2018-04-02</expires><status>Active</status><locked>Yes</locked><private>Yes</private><auto_renew>Yes</auto_renew><traffic_type>Parked</traffic_type><forward_url>N/A</forward_url><forward_type>N/A</forward_type><nameservers><nameserver
 
15
        position="1">NS1.NAMESILO.COM</nameserver><nameserver position="2">NS2.NAMESILO.COM</nameserver></nameservers><contact_ids><registrant>1321</registrant><administrative>1321</administrative><technical>1321</technical><billing>1321</billing></contact_ids></reply></namesilo>
 
16
 
 
17
        '}
 
18
    headers:
 
19
      cache-control: ['no-store, no-cache, must-revalidate, post-check=0, pre-check=0']
 
20
      connection: [keep-alive]
 
21
      content-length: ['703']
 
22
      content-type: [text/xml]
 
23
      date: ['Sun, 03 Apr 2016 03:12:41 GMT']
 
24
      expires: ['Thu, 19 Nov 1981 08:52:00 GMT']
 
25
      pragma: [no-cache]
 
26
      server: [nginx]
 
27
      set-cookie: [PHPSESSID=df8bde029af689a43eff852a9ab33d98; path=/; domain=dev.namesilo.com]
 
28
      vary: [Accept-Encoding]
 
29
      x-proxy-cache: [MISS]
 
30
    status: {code: 200, message: OK}
 
31
- request:
 
32
    body: null
 
33
    headers:
 
34
      Accept: ['*/*']
 
35
      Accept-Encoding: ['gzip, deflate']
 
36
      Connection: [keep-alive]
 
37
      User-Agent: [python-requests/2.9.1]
 
38
    method: GET
 
39
    uri: http://sandbox.namesilo.com/api/dnsAddRecord?domain=capsulecdfake.com&rrhost=orig.testfull&rrttl=3600&rrtype=TXT&rrvalue=challengetoken&type=xml&version=1
 
40
  response:
 
41
    body: {string: !!python/unicode '<?xml version="1.0"?>
 
42
 
 
43
        <namesilo><request><operation>dnsAddRecord</operation><ip>208.72.142.184</ip></request><reply><code>300</code><detail>success</detail><record_id>31605c1f92d7d9bb45bf3d81858e6048</record_id></reply></namesilo>
 
44
 
 
45
        '}
 
46
    headers:
 
47
      cache-control: ['no-store, no-cache, must-revalidate, post-check=0, pre-check=0']
 
48
      connection: [keep-alive]
 
49
      content-length: ['231']
 
50
      content-type: [text/xml]
 
51
      date: ['Sun, 03 Apr 2016 03:12:43 GMT']
 
52
      expires: ['Thu, 19 Nov 1981 08:52:00 GMT']
 
53
      pragma: [no-cache]
 
54
      server: [nginx]
 
55
      set-cookie: [PHPSESSID=f9e08eb09e8acf9d38db937250ff5faa; path=/; domain=dev.namesilo.com]
 
56
      vary: [Accept-Encoding]
 
57
      x-proxy-cache: [MISS]
 
58
    status: {code: 200, message: OK}
 
59
- request:
 
60
    body: null
 
61
    headers:
 
62
      Accept: ['*/*']
 
63
      Accept-Encoding: ['gzip, deflate']
 
64
      Connection: [keep-alive]
 
65
      User-Agent: [python-requests/2.9.1]
 
66
    method: GET
 
67
    uri: http://sandbox.namesilo.com/api/dnsListRecords?domain=capsulecdfake.com&type=xml&version=1
 
68
  response:
 
69
    body: {string: !!python/unicode '<?xml version="1.0"?>
 
70
 
 
71
        <namesilo><request><operation>dnsListRecords</operation><ip>208.72.142.184</ip></request><reply><code>300</code><detail>success</detail><resource_record><record_id>cf0f5addd6803a7700dbfc60ff8b7675</record_id><type>A</type><host>capsulecdfake.com</host><value>107.161.23.204</value><ttl>3603</ttl><distance>0</distance></resource_record><resource_record><record_id>189b6a5b36251145c060d453f771fb13</record_id><type>A</type><host>capsulecdfake.com</host><value>164.132.212.72</value><ttl>3603</ttl><distance>0</distance></resource_record><resource_record><record_id>df9ad7186be382e37997e8de575cd5a4</record_id><type>A</type><host>capsulecdfake.com</host><value>167.114.213.199</value><ttl>3603</ttl><distance>0</distance></resource_record><resource_record><record_id>b318260397dd3e024bedb73f3eeee938</record_id><type>A</type><host>localhost.capsulecdfake.com</host><value>127.0.0.1</value><ttl>7200</ttl><distance>0</distance></resource_record><resource_record><record_id>f8bcfa159c3386ea456bb083036a10f5</record_id><type>CNAME</type><host>docs.capsulecdfake.com</host><value>docs.example.com</value><ttl>7200</ttl><distance>0</distance></resource_record><resource_record><record_id>b0e7247ef85971ed89284471126b9d5e</record_id><type>CNAME</type><host>www.capsulecdfake.com</host><value>parking.namesilo.com</value><ttl>3603</ttl><distance>0</distance></resource_record><resource_record><record_id>bced899e905a49bbab479f7827683dca</record_id><type>TXT</type><host>orig.test.capsulecdfake.com</host><value>challengetoken</value><ttl>7200</ttl><distance>0</distance></resource_record><resource_record><record_id>423d488cc8d1007f5e7285bd825c35cb</record_id><type>TXT</type><host>orig.testfqdn.capsulecdfake.com</host><value>challengetoken</value><ttl>7200</ttl><distance>0</distance></resource_record><resource_record><record_id>31605c1f92d7d9bb45bf3d81858e6048</record_id><type>TXT</type><host>orig.testfull.capsulecdfake.com</host><value>challengetoken</value><ttl>7200</ttl><distance>0</distance></resource_record><resource_record><record_id>fa0e471f4fa90492c408e48622472ea0</record_id><type>TXT</type><host>random.fqdntest.capsulecdfake.com</host><value>challengetoken</value><ttl>7200</ttl><distance>0</distance></resource_record><resource_record><record_id>8262ed73b91378ddb4619b4bfa8cf0e9</record_id><type>TXT</type><host>random.fulltest.capsulecdfake.com</host><value>challengetoken</value><ttl>7200</ttl><distance>0</distance></resource_record><resource_record><record_id>0be072e325c133a6404b50d4db16d4eb</record_id><type>TXT</type><host>random.test.capsulecdfake.com</host><value>challengetoken</value><ttl>7200</ttl><distance>0</distance></resource_record><resource_record><record_id>8bc1c2ab7721caa67c40464bc715dfd9</record_id><type>TXT</type><host>_acme-challenge.fqdn.capsulecdfake.com</host><value>challengetoken</value><ttl>7200</ttl><distance>0</distance></resource_record><resource_record><record_id>74618129e89eaf753d104e49b2f2f55b</record_id><type>TXT</type><host>_acme-challenge.full.capsulecdfake.com</host><value>challengetoken</value><ttl>7200</ttl><distance>0</distance></resource_record><resource_record><record_id>7ebc06ef3977aef104d2c4133b597bf4</record_id><type>TXT</type><host>_acme-challenge.test.capsulecdfake.com</host><value>challengetoken</value><ttl>7200</ttl><distance>0</distance></resource_record></reply></namesilo>
 
72
 
 
73
        '}
 
74
    headers:
 
75
      cache-control: ['no-store, no-cache, must-revalidate, post-check=0, pre-check=0']
 
76
      connection: [keep-alive]
 
77
      content-length: ['3372']
 
78
      content-type: [text/xml]
 
79
      date: ['Sun, 03 Apr 2016 03:12:45 GMT']
 
80
      expires: ['Thu, 19 Nov 1981 08:52:00 GMT']
 
81
      pragma: [no-cache]
 
82
      server: [nginx]
 
83
      set-cookie: [PHPSESSID=af729ba048986f7f25a9e64223d5577b; path=/; domain=dev.namesilo.com]
 
84
      vary: [Accept-Encoding]
 
85
      x-proxy-cache: [MISS]
 
86
    status: {code: 200, message: OK}
 
87
- request:
 
88
    body: null
 
89
    headers:
 
90
      Accept: ['*/*']
 
91
      Accept-Encoding: ['gzip, deflate']
 
92
      Connection: [keep-alive]
 
93
      User-Agent: [python-requests/2.9.1]
 
94
    method: GET
 
95
    uri: http://sandbox.namesilo.com/api/dnsUpdateRecord?domain=capsulecdfake.com&rrhost=updated.testfull&rrid=31605c1f92d7d9bb45bf3d81858e6048&rrvalue=challengetoken&type=xml&version=1&rrttl=3600
 
96
  response:
 
97
    body: {string: !!python/unicode '<?xml version="1.0"?>
 
98
 
 
99
        <namesilo><request><operation>dnsUpdateRecord</operation><ip>208.72.142.184</ip></request><reply><code>300</code><detail>success</detail><record_id>ea749f964ed0c55c0b7186c197811135</record_id></reply></namesilo>
 
100
 
 
101
        '}
 
102
    headers:
 
103
      cache-control: ['no-store, no-cache, must-revalidate, post-check=0, pre-check=0']
 
104
      connection: [keep-alive]
 
105
      content-length: ['234']
 
106
      content-type: [text/xml]
 
107
      date: ['Sun, 03 Apr 2016 03:12:47 GMT']
 
108
      expires: ['Thu, 19 Nov 1981 08:52:00 GMT']
 
109
      pragma: [no-cache]
 
110
      server: [nginx]
 
111
      set-cookie: [PHPSESSID=f9976ebeeac686f4aee9d7d74b70759f; path=/; domain=dev.namesilo.com]
 
112
      transfer-encoding: [chunked]
 
113
      vary: [Accept-Encoding]
 
114
      x-proxy-cache: [MISS]
 
115
    status: {code: 200, message: OK}
 
116
version: 1