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

« back to all changes in this revision

Viewing changes to tests/fixtures/cassettes/namecheap/IntegrationTests/test_Provider_when_calling_create_record_for_CNAME_with_valid_name_and_content.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
      Content-Length: ['0']
 
9
      User-Agent: [python-requests/2.18.4]
 
10
    method: POST
 
11
    uri: https://api.sandbox.namecheap.com/xml.response?ClientIP=127.0.0.1&Command=namecheap.domains.getList&Page=1
 
12
  response:
 
13
    body: {string: !!python/unicode "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n\
 
14
        <ApiResponse Status=\"OK\" xmlns=\"http://api.namecheap.com/xml.response\"\
 
15
        >\r\n  <Errors />\r\n  <Warnings />\r\n  <RequestedCommand>namecheap.domains.getlist</RequestedCommand>\r\
 
16
        \n  <CommandResponse Type=\"namecheap.domains.getList\">\r\n    <DomainGetListResult>\r\
 
17
        \n      <Domain ID=\"160248\" Name=\"dnscontrol.com\" User=\"sandypants\"\
 
18
        \ Created=\"04/18/2017\" Expires=\"04/18/2018\" IsExpired=\"false\" IsLocked=\"\
 
19
        false\" AutoRenew=\"false\" WhoisGuard=\"NOTPRESENT\" IsPremium=\"false\"\
 
20
        \ IsOurDNS=\"true\" />\r\n      <Domain ID=\"261173\" Name=\"lexicontest.com\"\
 
21
        \ User=\"sandypants\" Created=\"01/16/2018\" Expires=\"01/16/2019\" IsExpired=\"\
 
22
        false\" IsLocked=\"false\" AutoRenew=\"false\" WhoisGuard=\"NOTPRESENT\" IsPremium=\"\
 
23
        false\" IsOurDNS=\"true\" />\r\n    </DomainGetListResult>\r\n    <Paging>\r\
 
24
        \n      <TotalItems>2</TotalItems>\r\n      <CurrentPage>1</CurrentPage>\r\
 
25
        \n      <PageSize>20</PageSize>\r\n    </Paging>\r\n  </CommandResponse>\r\
 
26
        \n  <Server>PHX01SBAPI02</Server>\r\n  <GMTTimeDifference>--8:00</GMTTimeDifference>\r\
 
27
        \n  <ExecutionTime>0.071</ExecutionTime>\r\n</ApiResponse>"}
 
28
    headers:
 
29
      cache-control: [private]
 
30
      content-length: ['1053']
 
31
      content-type: [text/xml; charset=utf-8]
 
32
      date: ['Wed, 17 Jan 2018 19:03:23 GMT']
 
33
      server: [Microsoft-IIS/8.5]
 
34
      vary: [Accept-Encoding]
 
35
      x-aspnet-version: [4.0.30319]
 
36
      x-powered-by: [ASP.NET]
 
37
    status: {code: 200, message: OK}
 
38
- request:
 
39
    body: null
 
40
    headers:
 
41
      Accept: ['*/*']
 
42
      Accept-Encoding: ['gzip, deflate']
 
43
      Connection: [keep-alive]
 
44
      Content-Length: ['0']
 
45
      User-Agent: [python-requests/2.18.4]
 
46
    method: POST
 
47
    uri: https://api.sandbox.namecheap.com/xml.response?ClientIP=127.0.0.1&Command=namecheap.domains.getList&Page=2
 
48
  response:
 
49
    body: {string: !!python/unicode "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n\
 
50
        <ApiResponse Status=\"OK\" xmlns=\"http://api.namecheap.com/xml.response\"\
 
51
        >\r\n  <Errors />\r\n  <Warnings />\r\n  <RequestedCommand>namecheap.domains.getlist</RequestedCommand>\r\
 
52
        \n  <CommandResponse Type=\"namecheap.domains.getList\">\r\n    <DomainGetListResult\
 
53
        \ />\r\n    <Paging>\r\n      <TotalItems>2</TotalItems>\r\n      <CurrentPage>2</CurrentPage>\r\
 
54
        \n      <PageSize>20</PageSize>\r\n    </Paging>\r\n  </CommandResponse>\r\
 
55
        \n  <Server>PHX01SBAPI02</Server>\r\n  <GMTTimeDifference>--8:00</GMTTimeDifference>\r\
 
56
        \n  <ExecutionTime>0.098</ExecutionTime>\r\n</ApiResponse>"}
 
57
    headers:
 
58
      cache-control: [private]
 
59
      content-length: ['580']
 
60
      content-type: [text/xml; charset=utf-8]
 
61
      date: ['Wed, 17 Jan 2018 19:03:23 GMT']
 
62
      server: [Microsoft-IIS/8.5]
 
63
      vary: [Accept-Encoding]
 
64
      x-aspnet-version: [4.0.30319]
 
65
      x-powered-by: [ASP.NET]
 
66
    status: {code: 200, message: OK}
 
67
- request:
 
68
    body: null
 
69
    headers:
 
70
      Accept: ['*/*']
 
71
      Accept-Encoding: ['gzip, deflate']
 
72
      Connection: [keep-alive]
 
73
      Content-Length: ['0']
 
74
      User-Agent: [python-requests/2.18.4]
 
75
    method: POST
 
76
    uri: https://api.sandbox.namecheap.com/xml.response?ClientIP=127.0.0.1&Command=namecheap.domains.dns.getHosts&SLD=lexicontest&TLD=com
 
77
  response:
 
78
    body: {string: !!python/unicode "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n\
 
79
        <ApiResponse Status=\"OK\" xmlns=\"http://api.namecheap.com/xml.response\"\
 
80
        >\r\n  <Errors />\r\n  <Warnings />\r\n  <RequestedCommand>namecheap.domains.dns.gethosts</RequestedCommand>\r\
 
81
        \n  <CommandResponse Type=\"namecheap.domains.dns.getHosts\">\r\n    <DomainDNSGetHostsResult\
 
82
        \ Domain=\"lexicontest.com\" EmailType=\"FWD\" IsUsingOurDNS=\"true\">\r\n\
 
83
        \      <host HostId=\"506042\" Name=\"localhost\" Type=\"A\" Address=\"127.0.0.1\"\
 
84
        \ MXPref=\"10\" TTL=\"1800\" AssociatedAppTitle=\"\" FriendlyName=\"\" IsActive=\"\
 
85
        true\" IsDDNSEnabled=\"false\" />\r\n      <host HostId=\"506041\" Name=\"\
 
86
        www\" Type=\"CNAME\" Address=\"parkingpage.namecheap.com.\" MXPref=\"10\"\
 
87
        \ TTL=\"1800\" AssociatedAppTitle=\"\" FriendlyName=\"CName Record\" IsActive=\"\
 
88
        true\" IsDDNSEnabled=\"false\" />\r\n      <host HostId=\"505697\" Name=\"\
 
89
        @\" Type=\"URL\" Address=\"http://www.lexicontest.com/?from=@\" MXPref=\"\
 
90
        10\" TTL=\"1800\" AssociatedAppTitle=\"\" FriendlyName=\"URL Record\" IsActive=\"\
 
91
        true\" IsDDNSEnabled=\"false\" />\r\n    </DomainDNSGetHostsResult>\r\n  </CommandResponse>\r\
 
92
        \n  <Server>PHX01SBAPI02</Server>\r\n  <GMTTimeDifference>--8:00</GMTTimeDifference>\r\
 
93
        \n  <ExecutionTime>0.886</ExecutionTime>\r\n</ApiResponse>"}
 
94
    headers:
 
95
      cache-control: [private]
 
96
      content-length: ['1143']
 
97
      content-type: [text/xml; charset=utf-8]
 
98
      date: ['Wed, 17 Jan 2018 19:03:25 GMT']
 
99
      server: [Microsoft-IIS/8.5]
 
100
      vary: [Accept-Encoding]
 
101
      x-aspnet-version: [4.0.30319]
 
102
      x-powered-by: [ASP.NET]
 
103
    status: {code: 200, message: OK}
 
104
- request:
 
105
    body: !!python/unicode 'Address3=http%3A%2F%2Fwww.lexicontest.com%2F%3Ffrom%3D%40&MXPref3=10&TTL1=1800&IsDDNSEnabled3=false&HostName1=localhost&HostName2=www&HostName3=%40&HostName4=docs&IsActive2=true&HostId2=506041&Address4=docs.example.com&Address1=127.0.0.1&TTL2=1800&TTL3=1800&IsDDNSEnabled2=false&MXPref2=10&MXPref1=10&IsDDNSEnabled1=false&SLD=lexicontest&FriendlyName1=&FriendlyName3=URL+Record&FriendlyName2=CName+Record&AssociatedAppTitle2=&AssociatedAppTitle3=&AssociatedAppTitle1=&TLD=com&IsActive3=true&HostId1=506042&IsActive1=true&HostId3=505697&RecordType4=CNAME&RecordType2=CNAME&RecordType3=URL&RecordType1=A&Address2=parkingpage.namecheap.com.'
 
106
    headers:
 
107
      Accept: ['*/*']
 
108
      Accept-Encoding: ['gzip, deflate']
 
109
      Connection: [keep-alive]
 
110
      Content-Length: ['637']
 
111
      Content-Type: [application/x-www-form-urlencoded]
 
112
      User-Agent: [python-requests/2.18.4]
 
113
    method: POST
 
114
    uri: https://api.sandbox.namecheap.com/xml.response?ClientIP=127.0.0.1&Command=namecheap.domains.dns.setHosts
 
115
  response:
 
116
    body: {string: !!python/unicode "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n\
 
117
        <ApiResponse Status=\"OK\" xmlns=\"http://api.namecheap.com/xml.response\"\
 
118
        >\r\n  <Errors />\r\n  <Warnings />\r\n  <RequestedCommand>namecheap.domains.dns.sethosts</RequestedCommand>\r\
 
119
        \n  <CommandResponse Type=\"namecheap.domains.dns.setHosts\">\r\n    <DomainDNSSetHostsResult\
 
120
        \ Domain=\"lexicontest.com\" IsSuccess=\"true\">\r\n      <Warnings />\r\n\
 
121
        \    </DomainDNSSetHostsResult>\r\n  </CommandResponse>\r\n  <Server>PHX01SBAPI02</Server>\r\
 
122
        \n  <GMTTimeDifference>--8:00</GMTTimeDifference>\r\n  <ExecutionTime>1.051</ExecutionTime>\r\
 
123
        \n</ApiResponse>"}
 
124
    headers:
 
125
      cache-control: [private]
 
126
      content-length: ['556']
 
127
      content-type: [text/xml; charset=utf-8]
 
128
      date: ['Wed, 17 Jan 2018 19:03:27 GMT']
 
129
      server: [Microsoft-IIS/8.5]
 
130
      vary: [Accept-Encoding]
 
131
      x-aspnet-version: [4.0.30319]
 
132
      x-powered-by: [ASP.NET]
 
133
    status: {code: 200, message: OK}
 
134
version: 1