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

« back to all changes in this revision

Viewing changes to tests/fixtures/cassettes/linode/IntegrationTests/test_Provider_when_calling_delete_record_by_filter_should_remove_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.18.1]
 
11
    method: GET
 
12
    uri: https://api.linode.com/api/?api_action=domain.list&resultFormat=JSON
 
13
  response:
 
14
    body: {string: '{"ACTION":"domain.list","DATA":[{"DOMAIN":"lexicon-example.com","AXFR_IPS":"none","TTL_SEC":0,"DOMAINID":1019812,"SOA_EMAIL":"trinopoty@hotmail.com","EXPIRE_SEC":0,"RETRY_SEC":0,"STATUS":1,"DESCRIPTION":"","LPM_DISPLAYGROUP":"","REFRESH_SEC":0,"MASTER_IPS":"","TYPE":"master"}],"ERRORARRAY":[]}'}
 
15
    headers:
 
16
      Access-Control-Allow-Origin: ['*']
 
17
      Connection: [keep-alive]
 
18
      Content-Type: [application/json;charset=UTF-8]
 
19
      Date: ['Wed, 06 Dec 2017 14:25:22 GMT']
 
20
      Server: [nginx]
 
21
      Strict-Transport-Security: [max-age=31536000]
 
22
      Transfer-Encoding: [chunked]
 
23
      X-Powered-By: [Tiger Blood]
 
24
    status: {code: 200, message: OK}
 
25
- request:
 
26
    body: '{}'
 
27
    headers:
 
28
      Accept: [application/json]
 
29
      Accept-Encoding: ['gzip, deflate']
 
30
      Connection: [keep-alive]
 
31
      Content-Length: ['2']
 
32
      Content-Type: [application/json]
 
33
      User-Agent: [python-requests/2.18.1]
 
34
    method: GET
 
35
    uri: https://api.linode.com/api/?DomainID=1019812&Name=delete.testfilt&TTL_sec=0&Target=challengetoken&Type=TXT&api_action=domain.resource.create&resultFormat=JSON
 
36
  response:
 
37
    body: {string: '{"ACTION":"domain.resource.create","DATA":{"ResourceID":8584653},"ERRORARRAY":[]}'}
 
38
    headers:
 
39
      Access-Control-Allow-Origin: ['*']
 
40
      Connection: [keep-alive]
 
41
      Content-Type: [application/json;charset=UTF-8]
 
42
      Date: ['Wed, 06 Dec 2017 14:25:23 GMT']
 
43
      Server: [nginx]
 
44
      Strict-Transport-Security: [max-age=31536000]
 
45
      Transfer-Encoding: [chunked]
 
46
      X-Powered-By: [Tiger Blood]
 
47
    status: {code: 200, message: OK}
 
48
- request:
 
49
    body: '{}'
 
50
    headers:
 
51
      Accept: [application/json]
 
52
      Accept-Encoding: ['gzip, deflate']
 
53
      Connection: [keep-alive]
 
54
      Content-Length: ['2']
 
55
      Content-Type: [application/json]
 
56
      User-Agent: [python-requests/2.18.1]
 
57
    method: GET
 
58
    uri: https://api.linode.com/api/?DomainID=1019812&api_action=domain.resource.list&resultFormat=JSON
 
59
  response:
 
60
    body: {string: '{"ACTION":"domain.resource.list","DATA":[{"TARGET":"challengetoken","TTL_SEC":0,"PORT":80,"DOMAINID":1019812,"PROTOCOL":"","PRIORITY":10,"TAG":"","WEIGHT":5,"RESOURCEID":8584653,"TYPE":"TXT","NAME":"delete.testfilt"},{"TARGET":"docs.example.com","TTL_SEC":0,"PORT":80,"DOMAINID":1019812,"PROTOCOL":"","PRIORITY":10,"TAG":"","WEIGHT":5,"RESOURCEID":8584648,"TYPE":"CNAME","NAME":"docs"},{"TARGET":"127.0.0.1","TTL_SEC":0,"PORT":80,"DOMAINID":1019812,"PROTOCOL":"","PRIORITY":10,"TAG":"","WEIGHT":5,"RESOURCEID":8584647,"TYPE":"A","NAME":"localhost"},{"TARGET":"challengetoken","TTL_SEC":0,"PORT":80,"DOMAINID":1019812,"PROTOCOL":"","PRIORITY":10,"TAG":"","WEIGHT":5,"RESOURCEID":8584649,"TYPE":"TXT","NAME":"_acme-challenge.fqdn"},{"TARGET":"challengetoken","TTL_SEC":0,"PORT":80,"DOMAINID":1019812,"PROTOCOL":"","PRIORITY":10,"TAG":"","WEIGHT":5,"RESOURCEID":8584650,"TYPE":"TXT","NAME":"_acme-challenge.full"},{"TARGET":"challengetoken","TTL_SEC":0,"PORT":80,"DOMAINID":1019812,"PROTOCOL":"","PRIORITY":10,"TAG":"","WEIGHT":5,"RESOURCEID":8584652,"TYPE":"TXT","NAME":"_acme-challenge.test"}],"ERRORARRAY":[]}'}
 
61
    headers:
 
62
      Access-Control-Allow-Origin: ['*']
 
63
      Connection: [keep-alive]
 
64
      Content-Type: [application/json;charset=UTF-8]
 
65
      Date: ['Wed, 06 Dec 2017 14:25:24 GMT']
 
66
      Server: [nginx]
 
67
      Strict-Transport-Security: [max-age=31536000]
 
68
      Transfer-Encoding: [chunked]
 
69
      X-Powered-By: [Tiger Blood]
 
70
    status: {code: 200, message: OK}
 
71
- request:
 
72
    body: '{}'
 
73
    headers:
 
74
      Accept: [application/json]
 
75
      Accept-Encoding: ['gzip, deflate']
 
76
      Connection: [keep-alive]
 
77
      Content-Length: ['2']
 
78
      Content-Type: [application/json]
 
79
      User-Agent: [python-requests/2.18.1]
 
80
    method: GET
 
81
    uri: https://api.linode.com/api/?DomainID=1019812&ResourceID=8584653&api_action=domain.resource.delete&resultFormat=JSON
 
82
  response:
 
83
    body: {string: '{"ACTION":"domain.resource.delete","DATA":{"ResourceID":8584653},"ERRORARRAY":[]}'}
 
84
    headers:
 
85
      Access-Control-Allow-Origin: ['*']
 
86
      Connection: [keep-alive]
 
87
      Content-Type: [application/json;charset=UTF-8]
 
88
      Date: ['Wed, 06 Dec 2017 14:25:26 GMT']
 
89
      Server: [nginx]
 
90
      Strict-Transport-Security: [max-age=31536000]
 
91
      Transfer-Encoding: [chunked]
 
92
      X-Powered-By: [Tiger Blood]
 
93
    status: {code: 200, message: OK}
 
94
- request:
 
95
    body: '{}'
 
96
    headers:
 
97
      Accept: [application/json]
 
98
      Accept-Encoding: ['gzip, deflate']
 
99
      Connection: [keep-alive]
 
100
      Content-Length: ['2']
 
101
      Content-Type: [application/json]
 
102
      User-Agent: [python-requests/2.18.1]
 
103
    method: GET
 
104
    uri: https://api.linode.com/api/?DomainID=1019812&api_action=domain.resource.list&resultFormat=JSON
 
105
  response:
 
106
    body: {string: '{"ACTION":"domain.resource.list","DATA":[{"TARGET":"docs.example.com","TTL_SEC":0,"PORT":80,"DOMAINID":1019812,"PROTOCOL":"","PRIORITY":10,"TAG":"","WEIGHT":5,"RESOURCEID":8584648,"TYPE":"CNAME","NAME":"docs"},{"TARGET":"127.0.0.1","TTL_SEC":0,"PORT":80,"DOMAINID":1019812,"PROTOCOL":"","PRIORITY":10,"TAG":"","WEIGHT":5,"RESOURCEID":8584647,"TYPE":"A","NAME":"localhost"},{"TARGET":"challengetoken","TTL_SEC":0,"PORT":80,"DOMAINID":1019812,"PROTOCOL":"","PRIORITY":10,"TAG":"","WEIGHT":5,"RESOURCEID":8584649,"TYPE":"TXT","NAME":"_acme-challenge.fqdn"},{"TARGET":"challengetoken","TTL_SEC":0,"PORT":80,"DOMAINID":1019812,"PROTOCOL":"","PRIORITY":10,"TAG":"","WEIGHT":5,"RESOURCEID":8584650,"TYPE":"TXT","NAME":"_acme-challenge.full"},{"TARGET":"challengetoken","TTL_SEC":0,"PORT":80,"DOMAINID":1019812,"PROTOCOL":"","PRIORITY":10,"TAG":"","WEIGHT":5,"RESOURCEID":8584652,"TYPE":"TXT","NAME":"_acme-challenge.test"}],"ERRORARRAY":[]}'}
 
107
    headers:
 
108
      Access-Control-Allow-Origin: ['*']
 
109
      Connection: [keep-alive]
 
110
      Content-Type: [application/json;charset=UTF-8]
 
111
      Date: ['Wed, 06 Dec 2017 14:25:27 GMT']
 
112
      Server: [nginx]
 
113
      Strict-Transport-Security: [max-age=31536000]
 
114
      Transfer-Encoding: [chunked]
 
115
      X-Powered-By: [Tiger Blood]
 
116
    status: {code: 200, message: OK}
 
117
version: 1