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

« back to all changes in this revision

Viewing changes to tests/fixtures/cassettes/aurora/IntegrationTests/test_Provider_when_calling_create_record_for_CNAME_with_valid_name_and_content.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: ['*/*']
 
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.4]
 
11
      X-AuroraDNS-Date: [20180225T111252Z]
 
12
    method: GET
 
13
    uri: https://api.auroradns.eu/zones
 
14
  response:
 
15
    body: {string: "[\n  {\n    \"account_id\": \"ffffffff-0000-ffff-0000-ffffffffffff\",\n\
 
16
        \    \"cluster_id\": \"ffffffff-0000-ffff-0000-ffffffffffff\",\n    \"created\"\
 
17
        : \"2018-02-25T11:12:31Z\",\n    \"id\": \"0645e7fa-6b94-46dd-99dd-bfb572f4e740\"\
 
18
        ,\n    \"name\": \"example.nl\",\n    \"servers\": [\n      \"ns001.auroradns.eu\"\
 
19
        ,\n      \"ns002.auroradns.nl\",\n      \"ns003.auroradns.info\"\n    ]\n\
 
20
        \  }\n]\n"}
 
21
    headers:
 
22
      Connection: [Keep-Alive]
 
23
      Content-Length: ['1752']
 
24
      Content-Type: [application/json; charset=utf-8]
 
25
      Date: ['Sun, 25 Feb 2018 11:12:52 GMT']
 
26
      Keep-Alive: ['timeout=5, max=100']
 
27
      Server: [Apache/2.4.7 (Ubuntu)]
 
28
    status: {code: 200, message: OK}
 
29
- request:
 
30
    body: '{"type": "CNAME", "name": "docs", "content": "docs.example.com", "ttl":
 
31
      3600}'
 
32
    headers:
 
33
      Accept: ['*/*']
 
34
      Accept-Encoding: ['gzip, deflate']
 
35
      Connection: [keep-alive]
 
36
      Content-Length: ['77']
 
37
      Content-Type: [application/json]
 
38
      User-Agent: [python-requests/2.18.4]
 
39
      X-AuroraDNS-Date: [20180225T111252Z]
 
40
    method: POST
 
41
    uri: https://api.auroradns.eu/zones/0645e7fa-6b94-46dd-99dd-bfb572f4e740/records
 
42
  response:
 
43
    body: {string: "{\n  \"content\": \"docs.example.com\",\n  \"created\": \"2018-02-25T11:12:53Z\"\
 
44
        ,\n  \"disabled\": false,\n  \"health_check_id\": null,\n  \"id\": \"a72321c3-ad80-44ae-bd26-2b891af7f803\"\
 
45
        ,\n  \"modified\": \"2018-02-25T11:12:53Z\",\n  \"name\": \"docs\",\n  \"\
 
46
        prio\": 0,\n  \"ttl\": 3600,\n  \"type\": \"CNAME\"\n}\n"}
 
47
    headers:
 
48
      Connection: [Keep-Alive]
 
49
      Content-Length: ['272']
 
50
      Content-Type: [application/json; charset=utf-8]
 
51
      Date: ['Sun, 25 Feb 2018 11:12:53 GMT']
 
52
      Keep-Alive: ['timeout=5, max=100']
 
53
      Server: [Apache/2.4.7 (Ubuntu)]
 
54
    status: {code: 201, message: CREATED}
 
55
version: 1