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

« back to all changes in this revision

Viewing changes to tests/fixtures/cassettes/zonomi/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
      User-Agent: [python-requests/2.18.4]
 
9
    method: GET
 
10
    uri: https://zonomi.com/app/dns/dyndns.jsp?action=QUERY&name=%2A%2A.pcekper.com.ar&type=SOA
 
11
  response:
 
12
    body: {string: !!python/unicode "<?xml version =\"1.0\"  ?><!DOCTYPE html [<!ENTITY\
 
13
        \ nbsp '&#160;'><!ENTITY trade '&#8482;'><!ENTITY copy '&#169;'>]><dnsapi_result><is_ok>OK:</is_ok>\n\
 
14
        <result_counts \n added=\"0\"\n changed=\"0\"\n unchanged=\"0\"\n deleted=\"\
 
15
        0\"/>\n<actions>\n\n<action \n action=\"QUERY\"\n host=\"pcekper.com.ar\"\n\
 
16
        \ type=\"SOA\">\n<record \n name=\"pcekper.com.ar\"\n type=\"SOA\"\n content=\"\
 
17
        ns1.zonomi.com. soacontact.zonomi.com. 7 10800 3600 604800 3600\"\n ttl=\"\
 
18
        86400 seconds\"\n prio=\"0\"/>\t</action></actions></dnsapi_result>"}
 
19
    headers:
 
20
      cache-control: [no-store]
 
21
      connection: [Keep-Alive]
 
22
      content-length: ['476']
 
23
      content-type: [text/xml;charset=UTF-8]
 
24
      date: ['Tue, 28 Nov 2017 22:03:10 GMT']
 
25
      keep-alive: ['timeout=5, max=100']
 
26
      server: [Apache/2.4.25 (Debian)]
 
27
      set-cookie: ['uv=959951985; Expires=Wed, 28-Nov-2018 22:03:10 GMT; Path=/app;
 
28
          HttpOnly', JSESSIONID=A057DC5765F9AB1238A33FB5F6FAFAF8; Path=/app/; Secure;
 
29
          HttpOnly]
 
30
      vary: [Accept-Encoding]
 
31
    status: {code: 200, message: OK}
 
32
- request:
 
33
    body: null
 
34
    headers:
 
35
      Accept: ['*/*']
 
36
      Accept-Encoding: ['gzip, deflate']
 
37
      Connection: [keep-alive]
 
38
      User-Agent: [python-requests/2.18.4]
 
39
    method: GET
 
40
    uri: https://zonomi.com/app/dns/dyndns.jsp?action=SET&name=docs.pcekper.com.ar&prio=placeholder_priority&ttl=3600&type=CNAME&value=docs.example.com
 
41
  response:
 
42
    body: {string: !!python/unicode "<?xml version =\"1.0\"  ?><!DOCTYPE html [<!ENTITY\
 
43
        \ nbsp '&#160;'><!ENTITY trade '&#8482;'><!ENTITY copy '&#169;'>]><dnsapi_result><is_ok>OK:</is_ok>\n\
 
44
        <result_counts \n added=\"1\"\n changed=\"0\"\n unchanged=\"0\"\n deleted=\"\
 
45
        0\"/>\n<actions>\n\n<action \n action=\"SET\"\n host=\"docs.pcekper.com.ar\"\
 
46
        \n type=\"CNAME\"\n value=\"docs.example.com\"\n ttl=\"3600\">\n<record \n\
 
47
        \ name=\"docs.pcekper.com.ar\"\n type=\"CNAME\"\n content=\"docs.example.com\"\
 
48
        \n ttl=\"3600 seconds\"\n prio=\"0\"\n added=\"\"/>\t</action></actions></dnsapi_result>"}
 
49
    headers:
 
50
      cache-control: [no-store]
 
51
      connection: [Keep-Alive]
 
52
      content-length: ['488']
 
53
      content-type: [text/xml;charset=UTF-8]
 
54
      date: ['Tue, 28 Nov 2017 22:03:12 GMT']
 
55
      keep-alive: ['timeout=5, max=100']
 
56
      server: [Apache/2.4.25 (Debian)]
 
57
      set-cookie: ['uv=269951985; Expires=Wed, 28-Nov-2018 22:03:12 GMT; Path=/app;
 
58
          HttpOnly', JSESSIONID=BDB7EEE3444C90D074A71954194AE297; Path=/app/; Secure;
 
59
          HttpOnly]
 
60
      vary: [Accept-Encoding]
 
61
    status: {code: 200, message: OK}
 
62
version: 1