diff --git a/src/postorius/tests/fixtures/vcr_cassettes/test_user_profile.yaml b/src/postorius/tests/fixtures/vcr_cassettes/test_user_profile.yaml index 338d104..5b482fb 100644 --- a/src/postorius/tests/fixtures/vcr_cassettes/test_user_profile.yaml +++ b/src/postorius/tests/fixtures/vcr_cassettes/test_user_profile.yaml @@ -34,19 +34,157 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - location: ['http://localhost:9001/3.0/users/1451'] + location: ['http://localhost:9001/3.0/users/1452'] status: {code: 201, message: Created} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode GET - uri: http://localhost:9001/3.0/users/1451 + uri: http://localhost:9001/3.0/users/1452 response: body: {string: !!python/unicode '{"created_on": "2005-08-01T07:49:23", "http_etag": - "\"7f0e2871d4ead957a7f7f769b89db3022e125c2f\"", "is_server_owner": false, - "password": "$6$rounds=659880$kv17MUSggWvVN6o6$diOO43oPa2u/cwg7BRaSXja8UsEtxoRo.Djn.bD88VJ/br8NOLlSs.SYV48UOw424xYiJ.2hxd8K1x2I2HHxR1", - "self_link": "http://localhost:9001/3.0/users/1451", "user_id": 1451}'} + "\"31035794349e65438eb291c6f4339800f0f12310\"", "is_server_owner": false, + "password": "$6$rounds=611965$1eGBP9dokXqypLRH$cDtIO3ZHr7NzdkEx/NQaiCAd/eQZ63vDR.g4rbWCtkdGuyVel7BPjLNJpfeSr6ietFu1XqXv3nM9Fzji5p0jS.", + "self_link": "http://localhost:9001/3.0/users/1452", "user_id": 1452}'} + headers: + content-length: ['330'] + 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/les@example.org + response: + body: {string: !!python/unicode '{"created_on": "2005-08-01T07:49:23", "http_etag": + "\"31035794349e65438eb291c6f4339800f0f12310\"", "is_server_owner": false, + "password": "$6$rounds=611965$1eGBP9dokXqypLRH$cDtIO3ZHr7NzdkEx/NQaiCAd/eQZ63vDR.g4rbWCtkdGuyVel7BPjLNJpfeSr6ietFu1XqXv3nM9Fzji5p0jS.", + "self_link": "http://localhost:9001/3.0/users/1452", "user_id": 1452}'} + headers: + content-length: ['330'] + 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/1452/addresses + response: + body: {string: !!python/unicode '{"entries": [{"email": "les@example.org", "http_etag": + "\"38f1ed5f40fa3c4932188d7190b4255b94ab3d44\"", "original_email": "les@example.org", + "registered_on": "2005-08-01T07:49:23", "self_link": "http://localhost:9001/3.0/addresses/les@example.org", + "user": "http://localhost:9001/3.0/users/1452"}], "http_etag": "\"6275f83a44f1382760aac2c0d31f2ac31f4ae436\"", + "start": 0, "total_size": 1}'} + headers: + content-length: ['387'] + 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/les@example.org + response: + body: {string: !!python/unicode '{"created_on": "2005-08-01T07:49:23", "http_etag": + "\"31035794349e65438eb291c6f4339800f0f12310\"", "is_server_owner": false, + "password": "$6$rounds=611965$1eGBP9dokXqypLRH$cDtIO3ZHr7NzdkEx/NQaiCAd/eQZ63vDR.g4rbWCtkdGuyVel7BPjLNJpfeSr6ietFu1XqXv3nM9Fzji5p0jS.", + "self_link": "http://localhost:9001/3.0/users/1452", "user_id": 1452}'} + headers: + content-length: ['330'] + 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/les@example.org + response: + body: {string: !!python/unicode '{"created_on": "2005-08-01T07:49:23", "http_etag": + "\"31035794349e65438eb291c6f4339800f0f12310\"", "is_server_owner": false, + "password": "$6$rounds=611965$1eGBP9dokXqypLRH$cDtIO3ZHr7NzdkEx/NQaiCAd/eQZ63vDR.g4rbWCtkdGuyVel7BPjLNJpfeSr6ietFu1XqXv3nM9Fzji5p0jS.", + "self_link": "http://localhost:9001/3.0/users/1452", "user_id": 1452}'} + headers: + content-length: ['330'] + 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/1452/addresses + response: + body: {string: !!python/unicode '{"entries": [{"email": "les@example.org", "http_etag": + "\"38f1ed5f40fa3c4932188d7190b4255b94ab3d44\"", "original_email": "les@example.org", + "registered_on": "2005-08-01T07:49:23", "self_link": "http://localhost:9001/3.0/addresses/les@example.org", + "user": "http://localhost:9001/3.0/users/1452"}], "http_etag": "\"6275f83a44f1382760aac2c0d31f2ac31f4ae436\"", + "start": 0, "total_size": 1}'} + headers: + content-length: ['387'] + 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/les@example.org + response: + body: {string: !!python/unicode '{"created_on": "2005-08-01T07:49:23", "http_etag": + "\"31035794349e65438eb291c6f4339800f0f12310\"", "is_server_owner": false, + "password": "$6$rounds=611965$1eGBP9dokXqypLRH$cDtIO3ZHr7NzdkEx/NQaiCAd/eQZ63vDR.g4rbWCtkdGuyVel7BPjLNJpfeSr6ietFu1XqXv3nM9Fzji5p0jS.", + "self_link": "http://localhost:9001/3.0/users/1452", "user_id": 1452}'} + headers: + content-length: ['330'] + 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/les@example.org + response: + body: {string: !!python/unicode '{"created_on": "2005-08-01T07:49:23", "http_etag": + "\"31035794349e65438eb291c6f4339800f0f12310\"", "is_server_owner": false, + "password": "$6$rounds=611965$1eGBP9dokXqypLRH$cDtIO3ZHr7NzdkEx/NQaiCAd/eQZ63vDR.g4rbWCtkdGuyVel7BPjLNJpfeSr6ietFu1XqXv3nM9Fzji5p0jS.", + "self_link": "http://localhost:9001/3.0/users/1452", "user_id": 1452}'} + headers: + content-length: ['330'] + 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/1452/addresses + response: + body: {string: !!python/unicode '{"entries": [{"email": "les@example.org", "http_etag": + "\"38f1ed5f40fa3c4932188d7190b4255b94ab3d44\"", "original_email": "les@example.org", + "registered_on": "2005-08-01T07:49:23", "self_link": "http://localhost:9001/3.0/addresses/les@example.org", + "user": "http://localhost:9001/3.0/users/1452"}], "http_etag": "\"6275f83a44f1382760aac2c0d31f2ac31f4ae436\"", + "start": 0, "total_size": 1}'} + headers: + content-length: ['387'] + 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/les@example.org + response: + body: {string: !!python/unicode '{"created_on": "2005-08-01T07:49:23", "http_etag": + "\"31035794349e65438eb291c6f4339800f0f12310\"", "is_server_owner": false, + "password": "$6$rounds=611965$1eGBP9dokXqypLRH$cDtIO3ZHr7NzdkEx/NQaiCAd/eQZ63vDR.g4rbWCtkdGuyVel7BPjLNJpfeSr6ietFu1XqXv3nM9Fzji5p0jS.", + "self_link": "http://localhost:9001/3.0/users/1452", "user_id": 1452}'} headers: content-length: ['330'] content-type: [application/json; charset=utf-8]