~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_create_record_for_A_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
      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 02:47:33 GMT']
 
24
      expires: ['Thu, 19 Nov 1981 08:52:00 GMT']
 
25
      pragma: [no-cache]
 
26
      server: [nginx]
 
27
      set-cookie: [PHPSESSID=cac2fe2a37a859758021618cfad01f10; 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=localhost&rrtype=A&rrvalue=127.0.0.1&type=xml&version=1&rrttl=3600
 
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>b318260397dd3e024bedb73f3eeee938</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 02:55:42 GMT']
 
52
      expires: ['Thu, 19 Nov 1981 08:52:00 GMT']
 
53
      pragma: [no-cache]
 
54
      server: [nginx]
 
55
      set-cookie: [PHPSESSID=2990773d9b81a0f1f543b7e0dfeaca0d; path=/; domain=dev.namesilo.com]
 
56
      transfer-encoding: [chunked]
 
57
      vary: [Accept-Encoding]
 
58
      x-proxy-cache: [MISS]
 
59
    status: {code: 200, message: OK}
 
60
version: 1