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

« back to all changes in this revision

Viewing changes to tests/fixtures/cassettes/dnsmadeeasy/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: '{}'
 
4
    headers:
 
5
      Accept: [application/json]
 
6
      Accept-Encoding: ['gzip, deflate']
 
7
      Connection: [keep-alive]
 
8
      Content-Length: ['2']
 
9
      Content-Type: [application/json]
 
10
      User-Agent: [python-requests/2.9.1]
 
11
      x-dnsme-requestDate: ['Sat, 27 Aug 2016 19:30:27 GMT']
 
12
    method: GET
 
13
    uri: http://api.sandbox.dnsmadeeasy.com/V2.0/dns/managed/name?domainname=capsulecd.com
 
14
  response:
 
15
    body: {string: !!python/unicode '{"name":"capsulecd.com","id":874984,"created":1458864000000,"processMulti":false,"activeThirdParties":[],"delegateNameServers":["dawn.ns.cloudflare.com.","owen.ns.cloudflare.com."],"folderId":1668,"gtdEnabled":false,"nameServers":[{"ipv4":"208.94.147.112","ipv6":"2600:1800:0::1","fqdn":"ns1.sandbox.dnsmadeeasy.com"},{"ipv4":"208.94.147.113","ipv6":"2600:1801:1::1","fqdn":"ns2.sandbox.dnsmadeeasy.com"},{"ipv4":"208.94.147.114","ipv6":"2600:1802:2::1","fqdn":"ns3.sandbox.dnsmadeeasy.com"},{"ipv4":"208.94.147.116","ipv6":"2600:1801:3::1","fqdn":"ns4.sandbox.dnsmadeeasy.com"}],"pendingActionId":0,"updated":1472326176934}'}
 
16
    headers:
 
17
      content-type: [application/json]
 
18
      date: ['Sat, 27 Aug 2016 19:30:27 GMT']
 
19
      server: [Apache-Coyote/1.1]
 
20
      set-cookie: [JSESSIONID=2CCB0E75D93C448E0FB180EC48F15A13; Path=/V2.0/; HttpOnly]
 
21
      x-dnsme-requestid: [2297efdc-c459-45fe-851f-ae29ef154429]
 
22
      x-dnsme-requestlimit: ['150']
 
23
      x-dnsme-requestsremaining: ['56']
 
24
    status: {code: 200, message: OK}
 
25
- request:
 
26
    body: '{"type": "TXT", "name": "random.fqdntest", "value": "challengetoken", "ttl":
 
27
      3600}'
 
28
    headers:
 
29
      Accept: [application/json]
 
30
      Accept-Encoding: ['gzip, deflate']
 
31
      Connection: [keep-alive]
 
32
      Content-Length: ['82']
 
33
      Content-Type: [application/json]
 
34
      User-Agent: [python-requests/2.9.1]
 
35
      x-dnsme-requestDate: ['Sat, 27 Aug 2016 19:30:27 GMT']
 
36
    method: POST
 
37
    uri: http://api.sandbox.dnsmadeeasy.com/V2.0/dns/managed/874984/records/
 
38
  response:
 
39
    body: {string: !!python/unicode '{"name":"random.fqdntest","value":"\"challengetoken\"","id":10124254,"type":"TXT","source":1,"dynamicDns":false,"failed":false,"gtdLocation":"DEFAULT","hardLink":false,"ttl":3600,"monitor":false,"sourceId":874984,"failover":false}'}
 
40
    headers:
 
41
      content-type: [application/json]
 
42
      date: ['Sat, 27 Aug 2016 19:30:28 GMT']
 
43
      location: ['http://api.sandbox.dnsmadeeasy.com/V2.0/dns/managed/874984/records/10124254']
 
44
      server: [Apache-Coyote/1.1]
 
45
      set-cookie: [JSESSIONID=0AB2E475ED40541D33D6F718486157B3; Path=/V2.0/; HttpOnly]
 
46
      x-dnsme-requestid: [0b66a1e3-883d-437d-a72f-66227d02fe26]
 
47
      x-dnsme-requestlimit: ['150']
 
48
      x-dnsme-requestsremaining: ['55']
 
49
    status: {code: 201, message: Created}
 
50
- request:
 
51
    body: '{}'
 
52
    headers:
 
53
      Accept: [application/json]
 
54
      Accept-Encoding: ['gzip, deflate']
 
55
      Connection: [keep-alive]
 
56
      Content-Length: ['2']
 
57
      Content-Type: [application/json]
 
58
      User-Agent: [python-requests/2.9.1]
 
59
      x-dnsme-requestDate: ['Sat, 27 Aug 2016 19:30:28 GMT']
 
60
    method: GET
 
61
    uri: http://api.sandbox.dnsmadeeasy.com/V2.0/dns/managed/874984/records?recordName=random.fqdntest&type=TXT
 
62
  response:
 
63
    body: {string: !!python/unicode '{"data":[{"name":"random.fqdntest","value":"\"challengetoken\"","id":10124254,"type":"TXT","source":1,"dynamicDns":false,"failed":false,"gtdLocation":"DEFAULT","hardLink":false,"ttl":3600,"monitor":false,"sourceId":874984,"failover":false}],"page":0,"totalPages":1,"totalRecords":1}'}
 
64
    headers:
 
65
      content-type: [application/json]
 
66
      date: ['Sat, 27 Aug 2016 19:30:28 GMT']
 
67
      server: [Apache-Coyote/1.1]
 
68
      set-cookie: [JSESSIONID=562621EC3CACEA07F6ADDAD98D92B905; Path=/V2.0/; HttpOnly]
 
69
      x-dnsme-requestid: [09e358cb-36a4-4c39-87f5-40c5577f9999]
 
70
      x-dnsme-requestlimit: ['150']
 
71
      x-dnsme-requestsremaining: ['54']
 
72
    status: {code: 200, message: OK}
 
73
version: 1