Update tapes
1 parent 83ce08e commit f79fe10a230c57baaecd233b2b9bfd6d8aae6ef5
@Simon Hanna Simon Hanna authored on 23 Mar 2016
Showing 11 changed files
View
134
src/postorius/tests/fixtures/vcr_cassettes/DomainCreationTest.test_new_domain_created_with_owner.yaml
- request:
body: null
headers:
accept-encoding: ['gzip, deflate']
method: !!python/unicode GET
method: !!python/unicode 'GET'
uri: http://localhost:9001/3.0/users/su@example.com
response:
body: {string: !!python/unicode 404 Not Found}
body: {string: !!python/unicode '404 Not Found'}
headers:
content-length: ['13']
content-type: [application/json; charset=utf-8]
status: {code: 404, message: Not Found}
- request:
body: base_url=http%3A%2F%2Fexample.com&description=A+new+Domain.&mail_host=example.com&owner=su%40example.com
headers:
accept-encoding: ['gzip, deflate']
!!python/unicode content-type: [!!python/unicode application/x-www-form-urlencoded]
method: !!python/unicode POST
!!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded']
method: !!python/unicode 'POST'
uri: http://localhost:9001/3.0/domains
response:
body: {string: !!python/unicode ''}
headers:
- request:
body: null
headers:
accept-encoding: ['gzip, deflate']
method: !!python/unicode GET
method: !!python/unicode 'GET'
uri: http://localhost:9001/3.0/users/su@example.com
response:
body: {string: !!python/unicode '{"created_on": "2005-08-01T07:49:23", "http_etag":
"\"82f042707bad8528d367f38ace98ee0d7ff05e57\"", "is_server_owner": false,
"self_link": "http://localhost:9001/3.0/users/107", "user_id": 107}'}
headers:
content-length: ['192']
content-type: [application/json; charset=utf-8]
status: {code: 200, message: OK}
- request:
body: null
headers:
accept-encoding: ['gzip, deflate']
method: !!python/unicode GET
uri: http://localhost:9001/3.0/users/107/addresses
"\"976a4412eb9cb5d0caff87e1fb125a75d8557190\"", "is_server_owner": false,
"self_link": "http://localhost:9001/3.0/users/2617", "user_id": 2617}'}
headers:
content-length: ['194']
content-type: [application/json; charset=utf-8]
status: {code: 200, message: OK}
- request:
body: null
headers:
accept-encoding: ['gzip, deflate']
method: !!python/unicode 'GET'
uri: http://localhost:9001/3.0/users/2617/addresses
response:
body: {string: !!python/unicode '{"entries": [{"email": "su@example.com", "http_etag":
"\"0a9acce49bac565c4c9a6f82cbfa1071cf8431f9\"", "original_email": "su@example.com",
"\"7728784f9ba62dfdd42fe755547e5fbd4b6ebc64\"", "original_email": "su@example.com",
"registered_on": "2005-08-01T07:49:23", "self_link": "http://localhost:9001/3.0/addresses/su@example.com",
"user": "http://localhost:9001/3.0/users/107"}], "http_etag": "\"3b2c12fee9e1570dd7a25f21b1bfa834bc650689\"",
"user": "http://localhost:9001/3.0/users/2617"}], "http_etag": "\"a1d3c7326c76c0eb992cbb349a0fcc9ac092a419\"",
"start": 0, "total_size": 1}'}
headers:
content-length: ['383']
content-type: [application/json; charset=utf-8]
status: {code: 200, message: OK}
- request:
body: null
headers:
accept-encoding: ['gzip, deflate']
method: !!python/unicode GET
content-length: ['384']
content-type: [application/json; charset=utf-8]
status: {code: 200, message: OK}
- request:
body: null
headers:
accept-encoding: ['gzip, deflate']
method: !!python/unicode 'GET'
uri: http://localhost:9001/3.0/domains
response:
body: {string: !!python/unicode '{"entries": [{"base_url": "http://example.com",
"description": "A new Domain.", "http_etag": "\"f574263235a622b271bd1115317117aee0e171f0\"",
- request:
body: null
headers:
accept-encoding: ['gzip, deflate']
method: !!python/unicode GET
method: !!python/unicode 'GET'
uri: http://localhost:9001/3.0/domains/example.com
response:
body: {string: !!python/unicode '{"base_url": "http://example.com", "description":
"A new Domain.", "http_etag": "\"f574263235a622b271bd1115317117aee0e171f0\"",
- request:
body: null
headers:
accept-encoding: ['gzip, deflate']
method: !!python/unicode GET
method: !!python/unicode 'GET'
uri: http://localhost:9001/3.0/domains/example.com
response:
body: {string: !!python/unicode '{"base_url": "http://example.com", "description":
"A new Domain.", "http_etag": "\"f574263235a622b271bd1115317117aee0e171f0\"",
- request:
body: null
headers:
accept-encoding: ['gzip, deflate']
method: !!python/unicode GET
method: !!python/unicode 'GET'
uri: http://localhost:9001/3.0/domains/example.com
response:
body: {string: !!python/unicode '{"base_url": "http://example.com", "description":
"A new Domain.", "http_etag": "\"f574263235a622b271bd1115317117aee0e171f0\"",
- request:
body: null
headers:
accept-encoding: ['gzip, deflate']
method: !!python/unicode GET
method: !!python/unicode 'GET'
uri: http://localhost:9001/3.0/domains/example.com/owners
response:
body: {string: !!python/unicode '{"entries": [{"created_on": "2005-08-01T07:49:23",
"http_etag": "\"82f042707bad8528d367f38ace98ee0d7ff05e57\"", "is_server_owner":
false, "self_link": "http://localhost:9001/3.0/users/107", "user_id": 107}],
"http_etag": "\"626cd7e8adb007ccfba5661536ba21d5aeb4209f\"", "start": 0, "total_size":
"http_etag": "\"976a4412eb9cb5d0caff87e1fb125a75d8557190\"", "is_server_owner":
false, "self_link": "http://localhost:9001/3.0/users/2617", "user_id": 2617}],
"http_etag": "\"ff75a8caf08c7fc6205bb7a4a8f1a41e03062b76\"", "start": 0, "total_size":
1}'}
headers:
content-length: ['297']
content-type: [application/json; charset=utf-8]
status: {code: 200, message: OK}
- request:
body: null
headers:
accept-encoding: ['gzip, deflate']
method: !!python/unicode GET
content-length: ['299']
content-type: [application/json; charset=utf-8]
status: {code: 200, message: OK}
- request:
body: null
headers:
accept-encoding: ['gzip, deflate']
method: !!python/unicode 'GET'
uri: http://localhost:9001/3.0/users/su@example.com
response:
body: {string: !!python/unicode '{"created_on": "2005-08-01T07:49:23", "http_etag":
"\"82f042707bad8528d367f38ace98ee0d7ff05e57\"", "is_server_owner": false,
"self_link": "http://localhost:9001/3.0/users/107", "user_id": 107}'}
headers:
content-length: ['192']
content-type: [application/json; charset=utf-8]
status: {code: 200, message: OK}
- request:
body: null
headers:
accept-encoding: ['gzip, deflate']
method: !!python/unicode DELETE
"\"976a4412eb9cb5d0caff87e1fb125a75d8557190\"", "is_server_owner": false,
"self_link": "http://localhost:9001/3.0/users/2617", "user_id": 2617}'}
headers:
content-length: ['194']
content-type: [application/json; charset=utf-8]
status: {code: 200, message: OK}
- request:
body: null
headers:
accept-encoding: ['gzip, deflate']
method: !!python/unicode 'DELETE'
uri: http://localhost:9001/3.0/domains/example.com
response:
body: {string: !!python/unicode ''}
headers:
- request:
body: null
headers:
accept-encoding: ['gzip, deflate']
method: !!python/unicode GET
method: !!python/unicode 'GET'
uri: http://localhost:9001/3.0/domains
response:
body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"",
"start": 0, "total_size": 0}'}
- request:
body: null
headers:
accept-encoding: ['gzip, deflate']
method: !!python/unicode GET
method: !!python/unicode 'GET'
uri: http://localhost:9001/3.0/users
response:
body: {string: !!python/unicode '{"entries": [{"created_on": "2005-08-01T07:49:23",
"http_etag": "\"82f042707bad8528d367f38ace98ee0d7ff05e57\"", "is_server_owner":
false, "self_link": "http://localhost:9001/3.0/users/107", "user_id": 107}],
"http_etag": "\"626cd7e8adb007ccfba5661536ba21d5aeb4209f\"", "start": 0, "total_size":
"http_etag": "\"976a4412eb9cb5d0caff87e1fb125a75d8557190\"", "is_server_owner":
false, "self_link": "http://localhost:9001/3.0/users/2617", "user_id": 2617}],
"http_etag": "\"ff75a8caf08c7fc6205bb7a4a8f1a41e03062b76\"", "start": 0, "total_size":
1}'}
headers:
content-length: ['297']
content-type: [application/json; charset=utf-8]
status: {code: 200, message: OK}
- request:
body: null
headers:
accept-encoding: ['gzip, deflate']
method: !!python/unicode DELETE
uri: http://localhost:9001/3.0/users/107
content-length: ['299']
content-type: [application/json; charset=utf-8]
status: {code: 200, message: OK}
- request:
body: null
headers:
accept-encoding: ['gzip, deflate']
method: !!python/unicode 'DELETE'
uri: http://localhost:9001/3.0/users/2617
response:
body: {string: !!python/unicode ''}
headers:
content-length: ['0']
View
41
src/postorius/tests/fixtures/vcr_cassettes/DomainCreationTest.test_validation_of_mail_host.yaml 0 → 100644
interactions:
- request:
body: null
headers:
accept-encoding: ['gzip, deflate']
method: !!python/unicode 'GET'
uri: http://localhost:9001/3.0/users/su@example.com
response:
body: {string: !!python/unicode '404 Not Found'}
headers:
content-length: ['13']
content-type: [application/json; charset=utf-8]
status: {code: 404, message: Not Found}
- request:
body: null
headers:
accept-encoding: ['gzip, deflate']
method: !!python/unicode 'GET'
uri: http://localhost:9001/3.0/domains
response:
body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"",
"start": 0, "total_size": 0}'}
headers:
content-length: ['90']
content-type: [application/json; charset=utf-8]
status: {code: 200, message: OK}
- request:
body: null
headers:
accept-encoding: ['gzip, deflate']
method: !!python/unicode 'GET'
uri: http://localhost:9001/3.0/users
response:
body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"",
"start": 0, "total_size": 0}'}
headers:
content-length: ['90']
content-type: [application/json; charset=utf-8]
status: {code: 200, message: OK}
version: 1
View
src/postorius/tests/fixtures/vcr_cassettes/ListCreationTest.test_listname_validation.yaml 0 → 100644
View
src/postorius/tests/fixtures/vcr_cassettes/ListMembersOptionsTest.test_not_accessible_for_moderator.yaml 0 → 100644
View
src/postorius/tests/fixtures/vcr_cassettes/ListMembersOptionsTest.test_page_accessible_for_owner.yaml 0 → 100644
View
src/postorius/tests/fixtures/vcr_cassettes/ListMembersOptionsTest.test_page_accessible_for_superuser.yaml 0 → 100644
View
src/postorius/tests/fixtures/vcr_cassettes/ListMembersOptionsTest.test_page_not_accessible_for_unprivileged_users.yaml 0 → 100644
View
src/postorius/tests/fixtures/vcr_cassettes/ListMembersOptionsTest.test_page_not_accessible_if_not_logged_in.yaml 0 → 100644
View
src/postorius/tests/fixtures/vcr_cassettes/MailmanUserTest.test_presence_of_form_in_user_global_settings.yaml 0 → 100644
View
src/postorius/tests/fixtures/vcr_cassettes/MailmanUserTest.test_presence_of_form_in_user_list_options.yaml 0 → 100644
View
src/postorius/tests/fixtures/vcr_cassettes/MailmanUserTest.test_presence_of_form_in_user_subscription_preferences.yaml 0 → 100644