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

« back to all changes in this revision

Viewing changes to tests/fixtures/cassettes/glesys/IntegrationTests/test_Provider_when_calling_delete_record_by_identifier_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: !!python/unicode '{}'
 
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.13.0]
 
11
    method: GET
 
12
    uri: https://api.glesys.com/domain/list?format=json
 
13
  response:
 
14
    body: {string: !!python/unicode '{"response":{"status":{"code":200,"timestamp":"2017-03-30T15:44:12+02:00","text":"OK","transactionid":null},"domains":[{"domainname":"capsulecd.com","createtime":"2016-07-27T14:57:07+02:00","recordcount":9,"registrarinfo":{"state":"OK","statedescription":"","expire":"2017-07-27","autorenew":"yes","tld":"se","invoicenumber":null}}],"debug":{"input":{}}}}'}
 
15
    headers:
 
16
      connection: [Keep-Alive]
 
17
      content-length: ['349']
 
18
      content-type: [application/json]
 
19
      date: ['Thu, 30 Mar 2017 13:44:12 GMT']
 
20
      keep-alive: ['timeout=5, max=100']
 
21
      server: [Apache/2.2.22 (Debian)]
 
22
      status: ['200']
 
23
      x-powered-by: [PHP/5.4.35-0+deb7u2]
 
24
    status: {code: 200, message: OK}
 
25
- request:
 
26
    body: !!python/unicode '{"domainname": "capsulecd.com"}'
 
27
    headers:
 
28
      Accept: [application/json]
 
29
      Accept-Encoding: ['gzip, deflate']
 
30
      Connection: [keep-alive]
 
31
      Content-Length: ['25']
 
32
      Content-Type: [application/json]
 
33
      User-Agent: [python-requests/2.13.0]
 
34
    method: POST
 
35
    uri: https://api.glesys.com/domain/listrecords?format=json
 
36
  response:
 
37
    body: {string: !!python/unicode '{"response":{"status":{"code":200,"timestamp":"2017-03-30T15:44:12+02:00","text":"OK","transactionid":null},"records":[{"recordid":909871,"domainname":"capsulecd.com","host":"@","type":"NS","data":"ns1.namesystem.se.","ttl":3600},{"recordid":909872,"domainname":"capsulecd.com","host":"@","type":"NS","data":"ns2.namesystem.se.","ttl":3600},{"recordid":909873,"domainname":"capsulecd.com","host":"@","type":"NS","data":"ns3.namesystem.se.","ttl":3600},{"recordid":909876,"domainname":"capsulecd.com","host":"@","type":"TXT","data":"v=spf1
 
38
        include:spf.glesys.se -all","ttl":3600},{"recordid":1045776,"domainname":"capsulecd.com","host":"docs.capsulecd.com","type":"CNAME","data":"docs.example.com","ttl":3600},{"recordid":1045777,"domainname":"capsulecd.com","host":"_acme-challenge.fqdn.capsulecd.com","type":"TXT","data":"challengetoken","ttl":3600},{"recordid":1045779,"domainname":"capsulecd.com","host":"_acme-challenge.test.capsulecd.com","type":"TXT","data":"challengetoken","ttl":3600},{"recordid":1045778,"domainname":"capsulecd.com","host":"_acme-challenge.full.capsulecd.com","type":"TXT","data":"challengetoken","ttl":3600},{"recordid":1045775,"domainname":"capsulecd.com","host":"localhost.capsulecd.com","type":"A","data":"127.0.0.1","ttl":3600}],"debug":{"input":{"domainname":"capsulecd.com"}}}}'}
 
39
    headers:
 
40
      connection: [Keep-Alive]
 
41
      content-length: ['1220']
 
42
      content-type: [application/json]
 
43
      date: ['Thu, 30 Mar 2017 13:44:12 GMT']
 
44
      keep-alive: ['timeout=5, max=100']
 
45
      server: [Apache/2.2.22 (Debian)]
 
46
      status: ['200']
 
47
      x-powered-by: [PHP/5.4.35-0+deb7u2]
 
48
    status: {code: 200, message: OK}
 
49
- request:
 
50
    body: !!python/unicode '{"data": "challengetoken", "host": "delete.testid.capsulecd.com",
 
51
      "type": "TXT", "domainname": "capsulecd.com"}'
 
52
    headers:
 
53
      Accept: [application/json]
 
54
      Accept-Encoding: ['gzip, deflate']
 
55
      Connection: [keep-alive]
 
56
      Content-Length: ['99']
 
57
      Content-Type: [application/json]
 
58
      User-Agent: [python-requests/2.13.0]
 
59
    method: POST
 
60
    uri: https://api.glesys.com/domain/addrecord?format=json
 
61
  response:
 
62
    body: {string: !!python/unicode '{"response":{"status":{"code":200,"timestamp":"2017-03-30T15:44:12+02:00","text":"Record
 
63
        added.","transactionid":null},"record":{"recordid":1045783,"domainname":"capsulecd.com","host":"delete.testid.capsulecd.com","type":"TXT","data":"challengetoken","ttl":3600},"debug":{"input":{"data":"challengetoken","host":"delete.testid.capsulecd.com","type":"TXT","domainname":"capsulecd.com"}}}}'}
 
64
    headers:
 
65
      connection: [Keep-Alive]
 
66
      content-length: ['363']
 
67
      content-type: [application/json]
 
68
      date: ['Thu, 30 Mar 2017 13:44:12 GMT']
 
69
      keep-alive: ['timeout=5, max=100']
 
70
      server: [Apache/2.2.22 (Debian)]
 
71
      status: ['200']
 
72
      x-powered-by: [PHP/5.4.35-0+deb7u2]
 
73
    status: {code: 200, message: OK}
 
74
- request:
 
75
    body: !!python/unicode '{"domainname": "capsulecd.com"}'
 
76
    headers:
 
77
      Accept: [application/json]
 
78
      Accept-Encoding: ['gzip, deflate']
 
79
      Connection: [keep-alive]
 
80
      Content-Length: ['25']
 
81
      Content-Type: [application/json]
 
82
      User-Agent: [python-requests/2.13.0]
 
83
    method: POST
 
84
    uri: https://api.glesys.com/domain/listrecords?format=json
 
85
  response:
 
86
    body: {string: !!python/unicode '{"response":{"status":{"code":200,"timestamp":"2017-03-30T15:44:12+02:00","text":"OK","transactionid":null},"records":[{"recordid":909871,"domainname":"capsulecd.com","host":"@","type":"NS","data":"ns1.namesystem.se.","ttl":3600},{"recordid":909872,"domainname":"capsulecd.com","host":"@","type":"NS","data":"ns2.namesystem.se.","ttl":3600},{"recordid":909873,"domainname":"capsulecd.com","host":"@","type":"NS","data":"ns3.namesystem.se.","ttl":3600},{"recordid":909876,"domainname":"capsulecd.com","host":"@","type":"TXT","data":"v=spf1
 
87
        include:spf.glesys.se -all","ttl":3600},{"recordid":1045776,"domainname":"capsulecd.com","host":"docs.capsulecd.com","type":"CNAME","data":"docs.example.com","ttl":3600},{"recordid":1045777,"domainname":"capsulecd.com","host":"_acme-challenge.fqdn.capsulecd.com","type":"TXT","data":"challengetoken","ttl":3600},{"recordid":1045779,"domainname":"capsulecd.com","host":"_acme-challenge.test.capsulecd.com","type":"TXT","data":"challengetoken","ttl":3600},{"recordid":1045778,"domainname":"capsulecd.com","host":"_acme-challenge.full.capsulecd.com","type":"TXT","data":"challengetoken","ttl":3600},{"recordid":1045783,"domainname":"capsulecd.com","host":"delete.testid.capsulecd.com","type":"TXT","data":"challengetoken","ttl":3600},{"recordid":1045775,"domainname":"capsulecd.com","host":"localhost.capsulecd.com","type":"A","data":"127.0.0.1","ttl":3600}],"debug":{"input":{"domainname":"capsulecd.com"}}}}'}
 
88
    headers:
 
89
      connection: [Keep-Alive]
 
90
      content-length: ['1343']
 
91
      content-type: [application/json]
 
92
      date: ['Thu, 30 Mar 2017 13:44:12 GMT']
 
93
      keep-alive: ['timeout=5, max=100']
 
94
      server: [Apache/2.2.22 (Debian)]
 
95
      status: ['200']
 
96
      x-powered-by: [PHP/5.4.35-0+deb7u2]
 
97
    status: {code: 200, message: OK}
 
98
- request:
 
99
    body: !!python/unicode '{"recordid": 1045783}'
 
100
    headers:
 
101
      Accept: [application/json]
 
102
      Accept-Encoding: ['gzip, deflate']
 
103
      Connection: [keep-alive]
 
104
      Content-Length: ['21']
 
105
      Content-Type: [application/json]
 
106
      User-Agent: [python-requests/2.13.0]
 
107
    method: POST
 
108
    uri: https://api.glesys.com/domain/deleterecord?format=json
 
109
  response:
 
110
    body: {string: !!python/unicode '{"response":{"status":{"code":200,"timestamp":"2017-03-30T15:44:12+02:00","text":"Record
 
111
        removed.","transactionid":null},"debug":{"input":{"recordid":"1045783"}}}}'}
 
112
    headers:
 
113
      connection: [Keep-Alive]
 
114
      content-length: ['163']
 
115
      content-type: [application/json]
 
116
      date: ['Thu, 30 Mar 2017 13:44:12 GMT']
 
117
      keep-alive: ['timeout=5, max=100']
 
118
      server: [Apache/2.2.22 (Debian)]
 
119
      status: ['200']
 
120
      x-powered-by: [PHP/5.4.35-0+deb7u2]
 
121
    status: {code: 200, message: OK}
 
122
- request:
 
123
    body: !!python/unicode '{"domainname": "capsulecd.com"}'
 
124
    headers:
 
125
      Accept: [application/json]
 
126
      Accept-Encoding: ['gzip, deflate']
 
127
      Connection: [keep-alive]
 
128
      Content-Length: ['25']
 
129
      Content-Type: [application/json]
 
130
      User-Agent: [python-requests/2.13.0]
 
131
    method: POST
 
132
    uri: https://api.glesys.com/domain/listrecords?format=json
 
133
  response:
 
134
    body: {string: !!python/unicode '{"response":{"status":{"code":200,"timestamp":"2017-03-30T15:44:12+02:00","text":"OK","transactionid":null},"records":[{"recordid":909871,"domainname":"capsulecd.com","host":"@","type":"NS","data":"ns1.namesystem.se.","ttl":3600},{"recordid":909872,"domainname":"capsulecd.com","host":"@","type":"NS","data":"ns2.namesystem.se.","ttl":3600},{"recordid":909873,"domainname":"capsulecd.com","host":"@","type":"NS","data":"ns3.namesystem.se.","ttl":3600},{"recordid":909876,"domainname":"capsulecd.com","host":"@","type":"TXT","data":"v=spf1
 
135
        include:spf.glesys.se -all","ttl":3600},{"recordid":1045776,"domainname":"capsulecd.com","host":"docs.capsulecd.com","type":"CNAME","data":"docs.example.com","ttl":3600},{"recordid":1045777,"domainname":"capsulecd.com","host":"_acme-challenge.fqdn.capsulecd.com","type":"TXT","data":"challengetoken","ttl":3600},{"recordid":1045779,"domainname":"capsulecd.com","host":"_acme-challenge.test.capsulecd.com","type":"TXT","data":"challengetoken","ttl":3600},{"recordid":1045778,"domainname":"capsulecd.com","host":"_acme-challenge.full.capsulecd.com","type":"TXT","data":"challengetoken","ttl":3600},{"recordid":1045775,"domainname":"capsulecd.com","host":"localhost.capsulecd.com","type":"A","data":"127.0.0.1","ttl":3600}],"debug":{"input":{"domainname":"capsulecd.com"}}}}'}
 
136
    headers:
 
137
      connection: [Keep-Alive]
 
138
      content-length: ['1220']
 
139
      content-type: [application/json]
 
140
      date: ['Thu, 30 Mar 2017 13:44:12 GMT']
 
141
      keep-alive: ['timeout=5, max=100']
 
142
      server: [Apache/2.2.22 (Debian)]
 
143
      status: ['200']
 
144
      x-powered-by: [PHP/5.4.35-0+deb7u2]
 
145
    status: {code: 200, message: OK}
 
146
version: 1