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

« back to all changes in this revision

Viewing changes to tests/fixtures/cassettes/cloudns/IntegrationTests/test_Provider_when_calling_list_records_with_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: null
 
4
    headers:
 
5
      Accept: ['*/*']
 
6
      Accept-Encoding: ['gzip, deflate']
 
7
      Connection: [keep-alive]
 
8
      User-Agent: [python-requests/2.18.3]
 
9
    method: GET
 
10
    uri: https://api.cloudns.net/dns/get-zone-info.json?domain-name=api-example.com
 
11
  response:
 
12
    body: {string: '{"name":"api-example.com","type":"master","zone":"domain","status":"1"}'}
 
13
    headers:
 
14
      Connection: [Keep-Alive]
 
15
      Content-Length: ['71']
 
16
      Content-Type: [application/json]
 
17
      Date: ['Fri, 04 Aug 2017 21:44:42 GMT']
 
18
      Keep-Alive: [timeout=5]
 
19
      Server: [Apache]
 
20
      X-Content-Type-Options: [nosniff]
 
21
      X-Frame-Options: [SAMEORIGIN]
 
22
      X-XSS-Protection: [1; mode=block]
 
23
    status: {code: 200, message: OK}
 
24
- request:
 
25
    body: null
 
26
    headers:
 
27
      Accept: ['*/*']
 
28
      Accept-Encoding: ['gzip, deflate']
 
29
      Connection: [keep-alive]
 
30
      User-Agent: [python-requests/2.18.3]
 
31
    method: GET
 
32
    uri: https://api.cloudns.net/dns/records.json?domain-name=api-example.com&host=random.test&type=TXT
 
33
  response:
 
34
    body: {string: '[]'}
 
35
    headers:
 
36
      Connection: [Keep-Alive]
 
37
      Content-Length: ['2']
 
38
      Content-Type: [application/json]
 
39
      Date: ['Fri, 04 Aug 2017 21:44:42 GMT']
 
40
      Keep-Alive: [timeout=5]
 
41
      Server: [Apache]
 
42
      X-Content-Type-Options: [nosniff]
 
43
      X-Frame-Options: [SAMEORIGIN]
 
44
      X-XSS-Protection: [1; mode=block]
 
45
    status: {code: 200, message: OK}
 
46
- request:
 
47
    body: domain-name=api-example.com&record-type=TXT&host=random.test&record=challengetoken&ttl=3600&priority=placeholder_priority&weight=placeholder_weight&port=placeholder_port
 
48
    headers:
 
49
      Accept: ['*/*']
 
50
      Accept-Encoding: ['gzip, deflate']
 
51
      Connection: [keep-alive]
 
52
      Content-Length: ['213']
 
53
      Content-Type: [application/x-www-form-urlencoded]
 
54
      User-Agent: [python-requests/2.18.3]
 
55
    method: POST
 
56
    uri: https://api.cloudns.net/dns/add-record.json
 
57
  response:
 
58
    body: {string: '{"status":"Success","statusDescription":"The record was added
 
59
        successfully.","data":{"id":30776958}}'}
 
60
    headers:
 
61
      Connection: [Keep-Alive]
 
62
      Content-Length: ['100']
 
63
      Content-Type: [application/json]
 
64
      Date: ['Fri, 04 Aug 2017 21:44:42 GMT']
 
65
      Keep-Alive: [timeout=5]
 
66
      Server: [Apache]
 
67
      X-Content-Type-Options: [nosniff]
 
68
      X-Frame-Options: [SAMEORIGIN]
 
69
      X-XSS-Protection: [1; mode=block]
 
70
    status: {code: 200, message: OK}
 
71
- request:
 
72
    body: null
 
73
    headers:
 
74
      Accept: ['*/*']
 
75
      Accept-Encoding: ['gzip, deflate']
 
76
      Connection: [keep-alive]
 
77
      User-Agent: [python-requests/2.18.3]
 
78
    method: GET
 
79
    uri: https://api.cloudns.net/dns/records.json?domain-name=api-example.com&host=random.test&type=TXT
 
80
  response:
 
81
    body: {string: '{"30776958":{"id":"30776958","type":"TXT","host":"random.test","record":"challengetoken","ttl":"3600","status":1}}'}
 
82
    headers:
 
83
      Connection: [Keep-Alive]
 
84
      Content-Length: ['114']
 
85
      Content-Type: [application/json]
 
86
      Date: ['Fri, 04 Aug 2017 21:44:42 GMT']
 
87
      Keep-Alive: [timeout=5]
 
88
      Server: [Apache]
 
89
      X-Content-Type-Options: [nosniff]
 
90
      X-Frame-Options: [SAMEORIGIN]
 
91
      X-XSS-Protection: [1; mode=block]
 
92
    status: {code: 200, message: OK}
 
93
version: 1