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

« back to all changes in this revision

Viewing changes to tests/fixtures/cassettes/digitalocean/IntegrationTests/test_Provider_when_calling_list_records_with_full_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
    method: GET
 
12
    uri: https://api.digitalocean.com/v2/domains/capsulecd.com
 
13
  response:
 
14
    body: {string: !!python/unicode '{"domain":{"name":"capsulecd.com","ttl":1800,"zone_file":"$ORIGIN
 
15
        capsulecd.com.\n$TTL 1800\ncapsulecd.com. IN SOA ns1.digitalocean.com. hostmaster.capsulecd.com.
 
16
        1460669816 10800 3600 604800 1800\ncapsulecd.com. 1800 IN NS ns1.digitalocean.com.\ncapsulecd.com.
 
17
        1800 IN NS ns2.digitalocean.com.\ncapsulecd.com. 1800 IN NS ns3.digitalocean.com.\ncapsulecd.com.
 
18
        1800 IN A 127.0.0.1\nlocalhost.capsulecd.com. 1800 IN A 127.0.0.1\n_acme-challenge.fqdn.capsulecd.com.
 
19
        1800 IN TXT challengetoken\n_acme-challenge.full.capsulecd.com. 1800 IN TXT
 
20
        challengetoken\n_acme-challenge.test.capsulecd.com. 1800 IN TXT challengetoken\ndocs.capsulecd.com.
 
21
        1800 IN CNAME docs.example.com.\n"}}'}
 
22
    headers:
 
23
      cache-control: ['max-age=0, private, must-revalidate']
 
24
      cf-ray: [293a4c5b822d2a5b-SEA]
 
25
      connection: [keep-alive]
 
26
      content-length: ['675']
 
27
      content-type: [application/json; charset=utf-8]
 
28
      date: ['Thu, 14 Apr 2016 21:37:18 GMT']
 
29
      ratelimit-limit: ['5000']
 
30
      ratelimit-remaining: ['4984']
 
31
      ratelimit-reset: ['1460673047']
 
32
      server: [cloudflare-nginx]
 
33
      set-cookie: ['__cfduid=df07b079eb154216a67d7fe38891696d51460669838; expires=Fri,
 
34
          14-Apr-17 21:37:18 GMT; path=/; domain=.digitalocean.com; HttpOnly']
 
35
      status: [200 OK]
 
36
      x-content-type-options: [nosniff]
 
37
      x-frame-options: [SAMEORIGIN]
 
38
      x-request-id: [5830b4b9-a901-403c-9f93-a95e21b1467a]
 
39
      x-runtime: ['0.066754']
 
40
      x-xss-protection: [1; mode=block]
 
41
    status: {code: 200, message: OK}
 
42
- request:
 
43
    body: '{"data": "challengetoken", "type": "TXT", "name": "random.fulltest"}'
 
44
    headers:
 
45
      Accept: [application/json]
 
46
      Accept-Encoding: ['gzip, deflate']
 
47
      Connection: [keep-alive]
 
48
      Content-Length: ['68']
 
49
      Content-Type: [application/json]
 
50
      User-Agent: [python-requests/2.9.1]
 
51
    method: POST
 
52
    uri: https://api.digitalocean.com/v2/domains/capsulecd.com/records
 
53
  response:
 
54
    body: {string: !!python/unicode '{"domain_record":{"id":13310500,"type":"TXT","name":"random.fulltest","data":"challengetoken","priority":null,"port":null,"weight":null}}'}
 
55
    headers:
 
56
      cache-control: ['max-age=0, private, must-revalidate']
 
57
      cf-ray: [293a4c75b14c2a07-SEA]
 
58
      connection: [keep-alive]
 
59
      content-type: [application/json; charset=utf-8]
 
60
      date: ['Thu, 14 Apr 2016 21:37:23 GMT']
 
61
      etag: ['"7498d0f268962c0403f5ceae98800344"']
 
62
      ratelimit-limit: ['5000']
 
63
      ratelimit-remaining: ['4979']
 
64
      ratelimit-reset: ['1460673047']
 
65
      server: [cloudflare-nginx]
 
66
      set-cookie: ['__cfduid=d1a51631128a8d2ce9591f50fad153b211460669842; expires=Fri,
 
67
          14-Apr-17 21:37:22 GMT; path=/; domain=.digitalocean.com; HttpOnly']
 
68
      status: [201 Created]
 
69
      x-content-type-options: [nosniff]
 
70
      x-frame-options: [SAMEORIGIN]
 
71
      x-request-id: [2e89dcee-680e-433f-99f3-84e838de745c]
 
72
      x-runtime: ['0.133511']
 
73
      x-xss-protection: [1; mode=block]
 
74
    status: {code: 201, message: Created}
 
75
- request:
 
76
    body: '{}'
 
77
    headers:
 
78
      Accept: [application/json]
 
79
      Accept-Encoding: ['gzip, deflate']
 
80
      Connection: [keep-alive]
 
81
      Content-Length: ['2']
 
82
      Content-Type: [application/json]
 
83
      User-Agent: [python-requests/2.9.1]
 
84
    method: GET
 
85
    uri: https://api.digitalocean.com/v2/domains/capsulecd.com/records
 
86
  response:
 
87
    body: {string: !!python/unicode '{"domain_records":[{"id":13310015,"type":"NS","name":"@","data":"ns1.digitalocean.com","priority":null,"port":null,"weight":null},{"id":13310016,"type":"NS","name":"@","data":"ns2.digitalocean.com","priority":null,"port":null,"weight":null},{"id":13310017,"type":"NS","name":"@","data":"ns3.digitalocean.com","priority":null,"port":null,"weight":null},{"id":13310018,"type":"A","name":"@","data":"127.0.0.1","priority":null,"port":null,"weight":null},{"id":13310404,"type":"A","name":"localhost","data":"127.0.0.1","priority":null,"port":null,"weight":null},{"id":13310405,"type":"TXT","name":"_acme-challenge.fqdn","data":"challengetoken","priority":null,"port":null,"weight":null},{"id":13310406,"type":"TXT","name":"_acme-challenge.full","data":"challengetoken","priority":null,"port":null,"weight":null},{"id":13310407,"type":"TXT","name":"_acme-challenge.test","data":"challengetoken","priority":null,"port":null,"weight":null},{"id":13310497,"type":"CNAME","name":"docs","data":"docs.example.com","priority":null,"port":null,"weight":null},{"id":13310499,"type":"TXT","name":"random.fqdntest","data":"challengetoken","priority":null,"port":null,"weight":null},{"id":13310500,"type":"TXT","name":"random.fulltest","data":"challengetoken","priority":null,"port":null,"weight":null}],"links":{},"meta":{"total":11}}'}
 
88
    headers:
 
89
      cache-control: ['max-age=0, private, must-revalidate']
 
90
      cf-ray: [293a4c784db90514-SEA]
 
91
      connection: [keep-alive]
 
92
      content-length: ['1318']
 
93
      content-type: [application/json; charset=utf-8]
 
94
      date: ['Thu, 14 Apr 2016 21:37:23 GMT']
 
95
      ratelimit-limit: ['5000']
 
96
      ratelimit-remaining: ['4978']
 
97
      ratelimit-reset: ['1460673047']
 
98
      server: [cloudflare-nginx]
 
99
      set-cookie: ['__cfduid=dc8e960c34895e916fb77e2fdab4672bf1460669843; expires=Fri,
 
100
          14-Apr-17 21:37:23 GMT; path=/; domain=.digitalocean.com; HttpOnly']
 
101
      status: [200 OK]
 
102
      transfer-encoding: [chunked]
 
103
      x-content-type-options: [nosniff]
 
104
      x-frame-options: [SAMEORIGIN]
 
105
      x-request-id: [30d6bc9b-cfbc-42cb-874f-1fce53d5baf2]
 
106
      x-runtime: ['0.090219']
 
107
      x-xss-protection: [1; mode=block]
 
108
    status: {code: 200, message: OK}
 
109
version: 1