File: test_provider_when_calling_list_records_with_full_name_filter_should_return_record.yaml

package info (click to toggle)
lexicon 3.3.17-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 42,580 kB
  • sloc: python: 12,755; sh: 102; makefile: 11
file content (76 lines) | stat: -rw-r--r-- 4,262 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
interactions:
- request:
    body: !!python/unicode '{}'
    headers:
      Accept: [application/json]
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['2']
      Content-Type: [application/json]
      User-Agent: [python-requests/2.18.4]
      x-dnsme-requestDate: ['Wed, 21 Mar 2018 05:25:28 GMT']
    method: GET
    uri: http://api.sandbox.dnsmadeeasy.com/V2.0/dns/managed/name?domainname=capsulecd.com
  response:
    body: {string: !!python/unicode '{"created":1521590400000,"delegateNameServers":["dawn.ns.cloudflare.com.","owen.ns.cloudflare.com."],"folderId":2052,"gtdEnabled":false,"nameServers":[{"fqdn":"ns1.sandbox.dnsmadeeasy.com","ipv4":"208.80.120.45","ipv6":"2600:1806:511:210:1eaf::45"},{"fqdn":"ns2.sandbox.dnsmadeeasy.com","ipv4":"208.80.120.46","ipv6":"2600:1806:511:210:1eaf::46"},{"fqdn":"ns3.sandbox.dnsmadeeasy.com","ipv4":"208.80.120.47","ipv6":"2600:1806:511:210:1eaf::47"},{"fqdn":"ns4.sandbox.dnsmadeeasy.com","ipv4":"208.80.120.48","ipv6":"2600:1806:511:210:1eaf::48"},{"fqdn":"ns5.sandbox.dnsmadeeasy.com","ipv4":"208.80.120.49","ipv6":"2600:1806:511:210:1eaf::49"}],"pendingActionId":0,"updated":1521609889401,"processMulti":false,"activeThirdParties":[],"name":"capsulecd.com","id":878951}'}
    headers:
      content-type: [application/json]
      date: ['Wed, 21 Mar 2018 05:25:28 GMT']
      server: [Apache-Coyote/1.1]
      set-cookie: [JSESSIONID=43B4CA4B394C913D3BF48718EB4CA4AC; Path=/V2.0; HttpOnly]
      transfer-encoding: [chunked]
      x-dnsme-requestid: [397cd9f4-a208-4c54-8f09-b91b4aa2b7c4]
      x-dnsme-requestlimit: ['150']
      x-dnsme-requestsremaining: ['86']
    status: {code: 200, message: OK}
- request:
    body: !!python/unicode '{"type": "TXT", "name": "random.fulltest", "value": "challengetoken",
      "ttl": 3600}'
    headers:
      Accept: [application/json]
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['82']
      Content-Type: [application/json]
      User-Agent: [python-requests/2.18.4]
      x-dnsme-requestDate: ['Wed, 21 Mar 2018 05:25:29 GMT']
    method: POST
    uri: http://api.sandbox.dnsmadeeasy.com/V2.0/dns/managed/878951/records/
  response:
    body: {string: !!python/unicode '{"failover":false,"monitor":false,"sourceId":878951,"dynamicDns":false,"failed":false,"gtdLocation":"DEFAULT","hardLink":false,"ttl":3600,"source":1,"name":"random.fulltest","value":"\"challengetoken\"","id":10169004,"type":"TXT"}'}
    headers:
      content-type: [application/json]
      date: ['Wed, 21 Mar 2018 05:25:29 GMT']
      location: ['http://api.sandbox.dnsmadeeasy.com/V2.0/dns/managed/878951/records/10169004']
      server: [Apache-Coyote/1.1]
      set-cookie: [JSESSIONID=AB72E46375C22E19D258F48AD1578CBD; Path=/V2.0; HttpOnly]
      transfer-encoding: [chunked]
      x-dnsme-requestid: [1b8e914d-3db9-4cc7-8552-71b48fd787d5]
      x-dnsme-requestlimit: ['150']
      x-dnsme-requestsremaining: ['85']
    status: {code: 201, message: Created}
- request:
    body: !!python/unicode '{}'
    headers:
      Accept: [application/json]
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['2']
      Content-Type: [application/json]
      User-Agent: [python-requests/2.18.4]
      x-dnsme-requestDate: ['Wed, 21 Mar 2018 05:25:29 GMT']
    method: GET
    uri: http://api.sandbox.dnsmadeeasy.com/V2.0/dns/managed/878951/records?recordName=random.fulltest&type=TXT
  response:
    body: {string: !!python/unicode '{"totalPages":1,"totalRecords":1,"data":[{"failover":false,"monitor":false,"sourceId":878951,"dynamicDns":false,"failed":false,"gtdLocation":"DEFAULT","hardLink":false,"ttl":3600,"source":1,"name":"random.fulltest","value":"\"challengetoken\"","id":10169004,"type":"TXT"}],"page":0}'}
    headers:
      content-type: [application/json]
      date: ['Wed, 21 Mar 2018 05:25:29 GMT']
      server: [Apache-Coyote/1.1]
      set-cookie: [JSESSIONID=DAD1C06CB2502FC2F9C59B6681C75641; Path=/V2.0; HttpOnly]
      transfer-encoding: [chunked]
      x-dnsme-requestid: [beb286f1-c617-4fe0-9fac-5dde62919974]
      x-dnsme-requestlimit: ['150']
      x-dnsme-requestsremaining: ['84']
    status: {code: 200, message: OK}
version: 1