~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_create_record_for_TXT_with_fqdn_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: '{}'
 
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:11 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:11 GMT']
 
19
      server: [Apache-Coyote/1.1]
 
20
      set-cookie: [JSESSIONID=9BA6A62192EC106E4EADED59BBF3551E; Path=/V2.0/; HttpOnly]
 
21
      x-dnsme-requestid: [0eb9b29f-e87c-4d47-b16c-82f7f787e50a]
 
22
      x-dnsme-requestlimit: ['150']
 
23
      x-dnsme-requestsremaining: ['85']
 
24
    status: {code: 200, message: OK}
 
25
- request:
 
26
    body: '{"type": "TXT", "name": "_acme-challenge.fqdn", "value": "challengetoken",
 
27
      "ttl": 3600}'
 
28
    headers:
 
29
      Accept: [application/json]
 
30
      Accept-Encoding: ['gzip, deflate']
 
31
      Connection: [keep-alive]
 
32
      Content-Length: ['87']
 
33
      Content-Type: [application/json]
 
34
      User-Agent: [python-requests/2.9.1]
 
35
      x-dnsme-requestDate: ['Sat, 27 Aug 2016 19:30:11 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":"_acme-challenge.fqdn","value":"\"challengetoken\"","id":10124246,"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:12 GMT']
 
43
      location: ['http://api.sandbox.dnsmadeeasy.com/V2.0/dns/managed/874984/records/10124246']
 
44
      server: [Apache-Coyote/1.1]
 
45
      set-cookie: [JSESSIONID=262B1EEC9F86D42DE7F6760FDF6660C5; Path=/V2.0/; HttpOnly]
 
46
      x-dnsme-requestid: [11d3b20b-b6a5-40ed-9fba-76920320b3a6]
 
47
      x-dnsme-requestlimit: ['150']
 
48
      x-dnsme-requestsremaining: ['84']
 
49
    status: {code: 201, message: Created}
 
50
version: 1