~sayan-chowdhury2012/postorius/postorius

« back to all changes in this revision

Viewing changes to src/postorius/tests/fixtures/vcr_cassettes/archival_options.yaml

  • Committer: Florian Fuchs
  • Date: 2015-04-17 21:20:47 UTC
  • mfrom: (225.2.24 postorius)
  • Revision ID: flo.fuchs@gmail.com-20150417212047-087j9a6o5smh1oe0
* Added subscription moderation.
* Subscription attempts now show proper messages (subscribed/held for approval).
* Style changes on most forms.
* Removed some cruft from the forms module.
* Style changes on the summary page.
* Added list owner address to summary page.
* Added a note for moderators about non-advertised lists to the list index to avoid confusion. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
    headers:
14
14
      content-length: ['33']
15
15
      content-type: [application/json; charset=utf-8]
16
 
      date: ['Wed, 15 Apr 2015 20:00:40 GMT']
 
16
      date: ['Fri, 17 Apr 2015 21:06:28 GMT']
17
17
      server: [WSGIServer/0.2 CPython/3.4.2]
18
18
    status: {code: 400, message: Bad Request}
19
19
- request:
25
25
    method: !!python/unicode 'GET'
26
26
    uri: http://localhost:9001/3.0/domains/example.com
27
27
  response:
28
 
    body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
 
28
    body: {string: !!python/unicode '{"mail_host": "example.com", "description": null,
29
29
        "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"",
30
 
        "mail_host": "example.com", "description": null, "url_host": "example.com"}'}
 
30
        "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host":
 
31
        "example.com"}'}
31
32
    headers:
32
33
      content-length: ['233']
33
34
      content-type: [application/json; charset=utf-8]
34
 
      date: ['Wed, 15 Apr 2015 20:00:40 GMT']
 
35
      date: ['Fri, 17 Apr 2015 21:06:28 GMT']
35
36
      server: [WSGIServer/0.2 CPython/3.4.2]
36
37
    status: {code: 200, message: OK}
37
38
- request:
43
44
    method: !!python/unicode 'GET'
44
45
    uri: http://localhost:9001/3.0/domains/example.com
45
46
  response:
46
 
    body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com",
 
47
    body: {string: !!python/unicode '{"mail_host": "example.com", "description": null,
47
48
        "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"",
48
 
        "mail_host": "example.com", "description": null, "url_host": "example.com"}'}
 
49
        "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host":
 
50
        "example.com"}'}
49
51
    headers:
50
52
      content-length: ['233']
51
53
      content-type: [application/json; charset=utf-8]
52
 
      date: ['Wed, 15 Apr 2015 20:00:40 GMT']
 
54
      date: ['Fri, 17 Apr 2015 21:06:28 GMT']
53
55
      server: [WSGIServer/0.2 CPython/3.4.2]
54
56
    status: {code: 200, message: OK}
55
57
- request:
65
67
    body: {string: !!python/unicode ''}
66
68
    headers:
67
69
      content-length: ['0']
68
 
      date: ['Wed, 15 Apr 2015 20:00:40 GMT']
 
70
      date: ['Fri, 17 Apr 2015 21:06:28 GMT']
69
71
      location: ['http://localhost:9001/3.0/lists/test_list.example.com']
70
72
      server: [WSGIServer/0.2 CPython/3.4.2]
71
73
    status: {code: 201, message: Created}
78
80
    method: !!python/unicode 'GET'
79
81
    uri: http://localhost:9001/3.0/lists/test_list.example.com
80
82
  response:
81
 
    body: {string: !!python/unicode '{"fqdn_listname": "test_list@example.com", "list_id":
82
 
        "test_list.example.com", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"",
83
 
        "list_name": "test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com",
84
 
        "volume": 1, "display_name": "Test_list", "mail_host": "example.com", "member_count":
85
 
        0}'}
 
83
    body: {string: !!python/unicode '{"list_name": "test_list", "volume": 1, "list_id":
 
84
        "test_list.example.com", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com",
 
85
        "fqdn_listname": "test_list@example.com", "mail_host": "example.com", "member_count":
 
86
        0, "display_name": "Test_list", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\""}'}
86
87
    headers:
87
88
      content-length: ['324']
88
89
      content-type: [application/json; charset=utf-8]
89
 
      date: ['Wed, 15 Apr 2015 20:00:40 GMT']
 
90
      date: ['Fri, 17 Apr 2015 21:06:28 GMT']
90
91
      server: [WSGIServer/0.2 CPython/3.4.2]
91
92
    status: {code: 200, message: OK}
92
93
- request:
98
99
    method: !!python/unicode 'GET'
99
100
    uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers
100
101
  response:
101
 
    body: {string: !!python/unicode '{"http_etag": "\"de68e13c430d856461d2b39a5b5d5286d91528bc\"",
102
 
        "prototype": false, "mail-archive": true, "mhonarc": false}'}
 
102
    body: {string: !!python/unicode '{"mhonarc": false, "http_etag": "\"de68e13c430d856461d2b39a5b5d5286d91528bc\"",
 
103
        "prototype": false, "mail-archive": true}'}
103
104
    headers:
104
105
      content-length: ['121']
105
106
      content-type: [application/json; charset=utf-8]
106
 
      date: ['Wed, 15 Apr 2015 20:00:40 GMT']
 
107
      date: ['Fri, 17 Apr 2015 21:06:28 GMT']
107
108
      server: [WSGIServer/0.2 CPython/3.4.2]
108
109
    status: {code: 200, message: OK}
109
110
- request:
115
116
    method: !!python/unicode 'GET'
116
117
    uri: http://localhost:9001/3.0/lists/test_list.example.com
117
118
  response:
118
 
    body: {string: !!python/unicode '{"fqdn_listname": "test_list@example.com", "list_id":
119
 
        "test_list.example.com", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"",
120
 
        "list_name": "test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com",
121
 
        "volume": 1, "display_name": "Test_list", "mail_host": "example.com", "member_count":
122
 
        0}'}
 
119
    body: {string: !!python/unicode '{"list_name": "test_list", "volume": 1, "list_id":
 
120
        "test_list.example.com", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com",
 
121
        "fqdn_listname": "test_list@example.com", "mail_host": "example.com", "member_count":
 
122
        0, "display_name": "Test_list", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\""}'}
123
123
    headers:
124
124
      content-length: ['324']
125
125
      content-type: [application/json; charset=utf-8]
126
 
      date: ['Wed, 15 Apr 2015 20:00:40 GMT']
 
126
      date: ['Fri, 17 Apr 2015 21:06:28 GMT']
127
127
      server: [WSGIServer/0.2 CPython/3.4.2]
128
128
    status: {code: 200, message: OK}
129
129
- request:
138
138
    body: {string: !!python/unicode ''}
139
139
    headers:
140
140
      content-length: ['0']
141
 
      date: ['Wed, 15 Apr 2015 20:00:40 GMT']
 
141
      date: ['Fri, 17 Apr 2015 21:06:28 GMT']
142
142
      server: [WSGIServer/0.2 CPython/3.4.2]
143
143
    status: {code: 204, message: No Content}
144
144
version: 1