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

« back to all changes in this revision

Viewing changes to tests/fixtures/cassettes/powerdns/IntegrationTests/test_Provider_when_calling_list_records_with_fqdn_name_filter_should_return_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: !!python/unicode '{}'
 
4
    headers:
 
5
      Accept: ['*/*']
 
6
      Accept-Encoding: ['gzip, deflate']
 
7
      Connection: [keep-alive]
 
8
      Content-Length: ['2']
 
9
      Content-Type: [application/json]
 
10
      User-Agent: [python-requests/2.13.0]
 
11
    method: GET
 
12
    uri: https://dnsadmin.hhome.me/api/v1/servers/localhost/zones/example.com
 
13
  response:
 
14
    body: {string: !!python/unicode '{"account": "", "dnssec": false, "id": "example.com.",
 
15
        "kind": "Master", "last_check": 0, "masters": [], "name": "example.com.",
 
16
        "notified_serial": 0, "rrsets": [{"comments": [], "name": "localhost.example.com.",
 
17
        "records": [{"content": "127.0.0.1", "disabled": false}], "ttl": 600, "type":
 
18
        "A"}, {"comments": [], "name": "_acme-challenge.test.example.com.", "records":
 
19
        [{"content": "\"challengetoken\"", "disabled": false}], "ttl": 600, "type":
 
20
        "TXT"}, {"comments": [], "name": "docs.example.com.", "records": [{"content":
 
21
        "docs.example.com.", "disabled": false}], "ttl": 600, "type": "CNAME"}, {"comments":
 
22
        [], "name": "ttl.fqdn.example.com.", "records": [{"content": "\"ttlshouldbe3600\"",
 
23
        "disabled": false}], "ttl": 3600, "type": "TXT"}, {"comments": [], "name":
 
24
        "_acme-challenge.fqdn.example.com.", "records": [{"content": "\"challengetoken\"",
 
25
        "disabled": false}], "ttl": 600, "type": "TXT"}, {"comments": [], "name":
 
26
        "_acme-challenge.full.example.com.", "records": [{"content": "\"challengetoken\"",
 
27
        "disabled": false}], "ttl": 600, "type": "TXT"}, {"comments": [], "name":
 
28
        "example.com.", "records": [{"content": "ns-internal.hhome.me. admin.hhome.me.
 
29
        2017033111 28800 7200 604800 86400", "disabled": false}], "ttl": 86400, "type":
 
30
        "SOA"}], "serial": 2017033111, "soa_edit": "", "soa_edit_api": "", "url":
 
31
        "api/v1/servers/localhost/zones/example.com."}'}
 
32
    headers:
 
33
      access-control-allow-origin: ['*']
 
34
      connection: [keep-alive]
 
35
      content-length: ['1361']
 
36
      content-security-policy: [default-src 'self'; style-src 'self' 'unsafe-inline']
 
37
      content-security-policy-report-only: [default-src 'self'; script-src 'self'
 
38
          'unsafe-inline']
 
39
      content-type: [application/json]
 
40
      date: ['Fri, 31 Mar 2017 22:36:41 GMT']
 
41
      server: [nginx]
 
42
      strict-transport-security: [max-age=15768000; includeSubDomains]
 
43
      transfer-encoding: [chunked]
 
44
      vary: [Accept-Encoding]
 
45
      x-content-type-options: [nosniff, nosniff]
 
46
      x-frame-options: [deny, SAMEORIGIN]
 
47
      x-permitted-cross-domain-policies: [none]
 
48
      x-xss-protection: [1; mode=block, 1; mode=block]
 
49
    status: {code: 200, message: OK}
 
50
- request:
 
51
    body: !!python/unicode '{"rrsets": [{"records": [{"content": "\"challengetoken\"",
 
52
      "disabled": false}], "changetype": "REPLACE", "type": "TXT", "name": "random.fqdntest.example.com.",
 
53
      "ttl": 600}]}'
 
54
    headers:
 
55
      Accept: ['*/*']
 
56
      Accept-Encoding: ['gzip, deflate']
 
57
      Connection: [keep-alive]
 
58
      Content-Length: ['173']
 
59
      Content-Type: [application/json]
 
60
      User-Agent: [python-requests/2.13.0]
 
61
    method: PATCH
 
62
    uri: https://dnsadmin.hhome.me/api/v1/servers/localhost/zones/example.com
 
63
  response:
 
64
    body: {string: !!python/unicode ''}
 
65
    headers:
 
66
      access-control-allow-origin: ['*']
 
67
      connection: [keep-alive]
 
68
      content-length: ['0']
 
69
      content-security-policy: [default-src 'self'; style-src 'self' 'unsafe-inline']
 
70
      content-security-policy-report-only: [default-src 'self'; script-src 'self'
 
71
          'unsafe-inline']
 
72
      date: ['Fri, 31 Mar 2017 22:36:41 GMT']
 
73
      server: [nginx]
 
74
      strict-transport-security: [max-age=15768000; includeSubDomains]
 
75
      x-content-type-options: [nosniff, nosniff]
 
76
      x-frame-options: [deny, SAMEORIGIN]
 
77
      x-permitted-cross-domain-policies: [none]
 
78
      x-xss-protection: [1; mode=block, 1; mode=block]
 
79
    status: {code: 204, message: No Content}
 
80
- request:
 
81
    body: !!python/unicode '{}'
 
82
    headers:
 
83
      Accept: ['*/*']
 
84
      Accept-Encoding: ['gzip, deflate']
 
85
      Connection: [keep-alive]
 
86
      Content-Length: ['2']
 
87
      Content-Type: [application/json]
 
88
      User-Agent: [python-requests/2.13.0]
 
89
    method: GET
 
90
    uri: https://dnsadmin.hhome.me/api/v1/servers/localhost/zones/example.com
 
91
  response:
 
92
    body: {string: !!python/unicode '{"account": "", "dnssec": false, "id": "example.com.",
 
93
        "kind": "Master", "last_check": 0, "masters": [], "name": "example.com.",
 
94
        "notified_serial": 0, "rrsets": [{"comments": [], "name": "localhost.example.com.",
 
95
        "records": [{"content": "127.0.0.1", "disabled": false}], "ttl": 600, "type":
 
96
        "A"}, {"comments": [], "name": "random.fqdntest.example.com.", "records":
 
97
        [{"content": "\"challengetoken\"", "disabled": false}], "ttl": 600, "type":
 
98
        "TXT"}, {"comments": [], "name": "_acme-challenge.test.example.com.", "records":
 
99
        [{"content": "\"challengetoken\"", "disabled": false}], "ttl": 600, "type":
 
100
        "TXT"}, {"comments": [], "name": "docs.example.com.", "records": [{"content":
 
101
        "docs.example.com.", "disabled": false}], "ttl": 600, "type": "CNAME"}, {"comments":
 
102
        [], "name": "ttl.fqdn.example.com.", "records": [{"content": "\"ttlshouldbe3600\"",
 
103
        "disabled": false}], "ttl": 3600, "type": "TXT"}, {"comments": [], "name":
 
104
        "_acme-challenge.fqdn.example.com.", "records": [{"content": "\"challengetoken\"",
 
105
        "disabled": false}], "ttl": 600, "type": "TXT"}, {"comments": [], "name":
 
106
        "_acme-challenge.full.example.com.", "records": [{"content": "\"challengetoken\"",
 
107
        "disabled": false}], "ttl": 600, "type": "TXT"}, {"comments": [], "name":
 
108
        "example.com.", "records": [{"content": "ns-internal.hhome.me. admin.hhome.me.
 
109
        2017033111 28800 7200 604800 86400", "disabled": false}], "ttl": 86400, "type":
 
110
        "SOA"}], "serial": 2017033111, "soa_edit": "", "soa_edit_api": "", "url":
 
111
        "api/v1/servers/localhost/zones/example.com."}'}
 
112
    headers:
 
113
      access-control-allow-origin: ['*']
 
114
      connection: [keep-alive]
 
115
      content-length: ['1513']
 
116
      content-security-policy: [default-src 'self'; style-src 'self' 'unsafe-inline']
 
117
      content-security-policy-report-only: [default-src 'self'; script-src 'self'
 
118
          'unsafe-inline']
 
119
      content-type: [application/json]
 
120
      date: ['Fri, 31 Mar 2017 22:36:41 GMT']
 
121
      server: [nginx]
 
122
      strict-transport-security: [max-age=15768000; includeSubDomains]
 
123
      transfer-encoding: [chunked]
 
124
      vary: [Accept-Encoding]
 
125
      x-content-type-options: [nosniff, nosniff]
 
126
      x-frame-options: [deny, SAMEORIGIN]
 
127
      x-permitted-cross-domain-policies: [none]
 
128
      x-xss-protection: [1; mode=block, 1; mode=block]
 
129
    status: {code: 200, message: OK}
 
130
version: 1