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

« back to all changes in this revision

Viewing changes to tests/fixtures/cassettes/pointhq/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: '{}'
 
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://pointhq.com/zones/capsulecd.com
 
13
  response:
 
14
    body: {string: !!python/unicode '{"zone":{"id":170389,"name":"capsulecd.com","group":"Default
 
15
        Group","user-id":26963,"ttl":3600}}'}
 
16
    headers:
 
17
      access-control-allow-origin: ['*']
 
18
      cache-control: ['must-revalidate, private, max-age=0', max-age=3600]
 
19
      connection: [keep-alive]
 
20
      content-type: [application/json]
 
21
      date: ['Fri, 15 Apr 2016 03:02:54 GMT']
 
22
      etag: ['"64759825f5fbcfb9ee3f1ac1c0819f88"']
 
23
      server: [nginx]
 
24
      set-cookie: [_passenger_route=283609999; Path=/]
 
25
      status: [200 OK]
 
26
      x-content-type-options: [nosniff]
 
27
      x-frame-options: [SAMEORIGIN]
 
28
      x-rack-cache: [miss]
 
29
      x-request-id: [de44de22a8f353e552513388528404d5]
 
30
      x-runtime: ['0.006865']
 
31
      x-ua-compatible: ['IE=Edge,chrome=1']
 
32
      x-xss-protection: [1; mode=block]
 
33
    status: {code: 200, message: OK}
 
34
- request:
 
35
    body: '{"zone_record": {"record_type": "TXT", "data": "challengetoken", "name":
 
36
      "random.test"}}'
 
37
    headers:
 
38
      Accept: [application/json]
 
39
      Accept-Encoding: ['gzip, deflate']
 
40
      Connection: [keep-alive]
 
41
      Content-Length: ['88']
 
42
      Content-Type: [application/json]
 
43
      User-Agent: [python-requests/2.9.1]
 
44
    method: POST
 
45
    uri: https://pointhq.com/zones/170389/records
 
46
  response:
 
47
    body: {string: !!python/unicode '{"zone_record":{"name":"random.test.capsulecd.com.","data":"\"challengetoken\"","id":104411046,"aux":null,"record_type":"TXT","ttl":3600,"zone_id":170389}}'}
 
48
    headers:
 
49
      access-control-allow-origin: ['*']
 
50
      cache-control: ['max-age=0, private, must-revalidate', max-age=3600]
 
51
      connection: [keep-alive]
 
52
      content-type: [application/json]
 
53
      date: ['Fri, 15 Apr 2016 03:02:55 GMT']
 
54
      etag: ['"0f981f24aeb8598ee4f3081151980f68"']
 
55
      server: [nginx]
 
56
      set-cookie: [_passenger_route=283609999; Path=/]
 
57
      status: [201 Created]
 
58
      x-content-type-options: [nosniff]
 
59
      x-frame-options: [SAMEORIGIN]
 
60
      x-rack-cache: ['invalidate, pass']
 
61
      x-request-id: [6cd115894fe08cbf0689decddd84dd1a]
 
62
      x-runtime: ['0.034358']
 
63
      x-ua-compatible: ['IE=Edge,chrome=1']
 
64
      x-xss-protection: [1; mode=block]
 
65
    status: {code: 201, message: Created}
 
66
- request:
 
67
    body: '{}'
 
68
    headers:
 
69
      Accept: [application/json]
 
70
      Accept-Encoding: ['gzip, deflate']
 
71
      Connection: [keep-alive]
 
72
      Content-Length: ['2']
 
73
      Content-Type: [application/json]
 
74
      User-Agent: [python-requests/2.9.1]
 
75
    method: GET
 
76
    uri: https://pointhq.com/zones/170389/records?record_type=TXT&name=random.test
 
77
  response:
 
78
    body: {string: !!python/unicode '[{"zone_record":{"name":"random.test.capsulecd.com.","data":"\"challengetoken\"","id":104411046,"aux":null,"record_type":"TXT","ttl":3600,"zone_id":170389}}]'}
 
79
    headers:
 
80
      access-control-allow-origin: ['*']
 
81
      cache-control: ['must-revalidate, private, max-age=0', max-age=3600]
 
82
      connection: [keep-alive]
 
83
      content-type: [application/json]
 
84
      date: ['Fri, 15 Apr 2016 03:02:55 GMT']
 
85
      etag: ['"c2a89b1994bd3a6b316b8e48ef1c7b5f"']
 
86
      server: [nginx]
 
87
      set-cookie: [_passenger_route=516608123; Path=/]
 
88
      status: [200 OK]
 
89
      x-content-type-options: [nosniff]
 
90
      x-frame-options: [SAMEORIGIN]
 
91
      x-rack-cache: [miss]
 
92
      x-request-id: [9aaab91b6405ef4c86ac2aa7bd661771]
 
93
      x-runtime: ['0.006011']
 
94
      x-ua-compatible: ['IE=Edge,chrome=1']
 
95
      x-xss-protection: [1; mode=block]
 
96
    status: {code: 200, message: OK}
 
97
version: 1