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

« back to all changes in this revision

Viewing changes to tests/fixtures/cassettes/memset/IntegrationTests/test_Provider_when_calling_create_record_for_TXT_with_full_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: !!python/unicode '{}'
 
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.13.0]
 
11
    method: GET
 
12
    uri: https://api.memset.com/v1/json/dns.zone_domain_info?domain=testzone.com
 
13
  response:
 
14
    body: {string: !!python/unicode "{\n \"domain\": \"testzone.com\", \n \"zone_id\"\
 
15
        : \"cbceea86fe9c099f019e386488ead6d8\"\n}"}
 
16
    headers:
 
17
      connection: [keep-alive]
 
18
      content-type: [application/json]
 
19
      date: ['Thu, 13 Apr 2017 12:57:03 GMT']
 
20
      server: [nginx]
 
21
    status: {code: 200, message: OK}
 
22
- request:
 
23
    body: !!python/unicode '{}'
 
24
    headers:
 
25
      Accept: ['*/*']
 
26
      Accept-Encoding: ['gzip, deflate']
 
27
      Connection: [keep-alive]
 
28
      Content-Length: ['2']
 
29
      Content-Type: [application/json]
 
30
      User-Agent: [python-requests/2.13.0]
 
31
    method: GET
 
32
    uri: https://api.memset.com/v1/json/dns.zone_info?id=cbceea86fe9c099f019e386488ead6d8
 
33
  response:
 
34
    body: {string: !!python/unicode "{\n \"domains\": [\n  {\n   \"domain\": \"testzone.com\"\
 
35
        , \n   \"zone_id\": \"cbceea86fe9c099f019e386488ead6d8\"\n  }\n ], \n \"records\"\
 
36
        : [\n  {\n   \"priority\": 0, \n   \"zone_id\": \"cbceea86fe9c099f019e386488ead6d8\"\
 
37
        , \n   \"address\": \"docs.example.com\", \n   \"relative\": false, \n   \"\
 
38
        record\": \"docs\", \n   \"ttl\": 0, \n   \"type\": \"CNAME\", \n   \"id\"\
 
39
        : \"5554241a3076d14abf34f28784691705\"\n  }, \n  {\n   \"priority\": 0, \n\
 
40
        \   \"zone_id\": \"cbceea86fe9c099f019e386488ead6d8\", \n   \"address\": \"\
 
41
        127.0.0.1\", \n   \"relative\": false, \n   \"record\": \"localhost\", \n\
 
42
        \   \"ttl\": 0, \n   \"type\": \"A\", \n   \"id\": \"6b3f0b55cff3843c1c592be27db44a66\"\
 
43
        \n  }, \n  {\n   \"priority\": 0, \n   \"zone_id\": \"cbceea86fe9c099f019e386488ead6d8\"\
 
44
        , \n   \"address\": \"challengetoken\", \n   \"relative\": false, \n   \"\
 
45
        record\": \"_acme-challenge.fqdn\", \n   \"ttl\": 0, \n   \"type\": \"TXT\"\
 
46
        , \n   \"id\": \"2bd6771488f82a3cfd063ff115876291\"\n  }\n ], \n \"nickname\"\
 
47
        : \"testzone.com\", \n \"id\": \"cbceea86fe9c099f019e386488ead6d8\", \n \"\
 
48
        ttl\": 0\n}"}
 
49
    headers:
 
50
      connection: [keep-alive]
 
51
      content-type: [application/json]
 
52
      date: ['Thu, 13 Apr 2017 12:57:03 GMT']
 
53
      server: [nginx]
 
54
    status: {code: 200, message: OK}
 
55
- request:
 
56
    body: !!python/unicode '{}'
 
57
    headers:
 
58
      Accept: ['*/*']
 
59
      Accept-Encoding: ['gzip, deflate']
 
60
      Connection: [keep-alive]
 
61
      Content-Length: ['2']
 
62
      Content-Type: [application/json]
 
63
      User-Agent: [python-requests/2.13.0]
 
64
    method: GET
 
65
    uri: https://api.memset.com/v1/json/dns.zone_record_create?record=_acme-challenge.full&type=TXT&zone_id=cbceea86fe9c099f019e386488ead6d8&address=challengetoken&ttl=3600
 
66
  response:
 
67
    body: {string: !!python/unicode "{\n \"priority\": 0, \n \"zone_id\": \"cbceea86fe9c099f019e386488ead6d8\"\
 
68
        , \n \"address\": \"challengetoken\", \n \"relative\": false, \n \"record\"\
 
69
        : \"_acme-challenge.full\", \n \"ttl\": 0, \n \"type\": \"TXT\", \n \"id\"\
 
70
        : \"2b9ad50bff5f8479bbbda0ef1919d25a\"\n}"}
 
71
    headers:
 
72
      connection: [keep-alive]
 
73
      content-type: [application/json]
 
74
      date: ['Thu, 13 Apr 2017 12:57:03 GMT']
 
75
      server: [nginx]
 
76
      transfer-encoding: [chunked]
 
77
    status: {code: 200, message: OK}
 
78
- request:
 
79
    body: !!python/unicode '{}'
 
80
    headers:
 
81
      Accept: ['*/*']
 
82
      Accept-Encoding: ['gzip, deflate']
 
83
      Connection: [keep-alive]
 
84
      Content-Length: ['2']
 
85
      Content-Type: [application/json]
 
86
      User-Agent: [python-requests/2.13.0]
 
87
    method: GET
 
88
    uri: https://api.memset.com/v1/json/dns.reload
 
89
  response:
 
90
    body: {string: !!python/unicode "{\n \"status\": \"NEW\", \n \"finished\": false,\
 
91
        \ \n \"type\": \"dns\", \n \"id\": \"d16ea2260c081e85c694eea89498a98c\", \n\
 
92
        \ \"error\": false\n}"}
 
93
    headers:
 
94
      connection: [keep-alive]
 
95
      content-type: [application/json]
 
96
      date: ['Thu, 13 Apr 2017 12:57:04 GMT']
 
97
      server: [nginx]
 
98
      transfer-encoding: [chunked]
 
99
    status: {code: 200, message: OK}
 
100
version: 1