Skip to content
This repository has been archived by the owner on Jan 7, 2024. It is now read-only.

Commit

Permalink
test: update cassettes to point to 127.0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
redshiftzero committed Jan 26, 2019
1 parent a388a40 commit 131905c
Show file tree
Hide file tree
Showing 23 changed files with 51 additions and 51 deletions.
6 changes: 3 additions & 3 deletions data/test-delete-reply.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interactions:
Content-Type: [application/json]
User-Agent: [python-requests/2.20.0]
method: GET
uri: http://localhost:8081/api/v1/replies
uri: http://127.0.0.1:8081/api/v1/replies
response:
body: {string: "{\n \"replies\": [\n {\n \"filename\": \"3-die-hard_chancellor-reply.gpg\",
\n \"is_deleted_by_source\": false, \n \"journalist_username\":
Expand Down Expand Up @@ -52,7 +52,7 @@ interactions:
Content-Type: [application/json]
User-Agent: [python-requests/2.20.0]
method: DELETE
uri: http://localhost:8081/api/v1/sources/664259e9-bd0e-41a0-85b2-bd0d618038c5/replies/68603968-b307-4607-80f7-cc7856f90f2f
uri: http://127.0.0.1:8081/api/v1/sources/664259e9-bd0e-41a0-85b2-bd0d618038c5/replies/68603968-b307-4607-80f7-cc7856f90f2f
response:
body: {string: "{\n \"message\": \"Reply deleted\"\n}\n"}
headers:
Expand All @@ -74,7 +74,7 @@ interactions:
Content-Type: [application/json]
User-Agent: [python-requests/2.20.0]
method: GET
uri: http://localhost:8081/api/v1/replies
uri: http://127.0.0.1:8081/api/v1/replies
response:
body: {string: "{\n \"replies\": [\n {\n \"filename\": \"4-die-hard_chancellor-reply.gpg\",
\n \"is_deleted_by_source\": false, \n \"journalist_username\":
Expand Down
6 changes: 3 additions & 3 deletions data/test-delete-source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interactions:
Content-Type: [application/json]
User-Agent: [python-requests/2.20.0]
method: GET
uri: http://localhost:8081/api/v1/sources
uri: http://127.0.0.1:8081/api/v1/sources
response:
body: {string: "{\n \"sources\": [\n {\n \"add_star_url\": \"/api/v1/sources/f1ed565f-ed3f-4316-9de8-56dd8af3b4a4/add_star\",
\n \"interaction_count\": 4, \n \"is_flagged\": false, \n \"is_starred\":
Expand Down Expand Up @@ -53,7 +53,7 @@ interactions:
Content-Type: [application/json]
User-Agent: [python-requests/2.20.0]
method: DELETE
uri: http://localhost:8081/api/v1/sources/f1ed565f-ed3f-4316-9de8-56dd8af3b4a4
uri: http://127.0.0.1:8081/api/v1/sources/f1ed565f-ed3f-4316-9de8-56dd8af3b4a4
response:
body: {string: "{\n \"message\": \"Source and submissions deleted\"\n}\n"}
headers:
Expand All @@ -75,7 +75,7 @@ interactions:
Content-Type: [application/json]
User-Agent: [python-requests/2.20.0]
method: GET
uri: http://localhost:8081/api/v1/sources
uri: http://127.0.0.1:8081/api/v1/sources
response:
body: {string: "{\n \"sources\": [\n {\n \"add_star_url\": \"/api/v1/sources/eb01cec4-7216-4112-b542-fcc9c3979b90/add_star\",
\n \"interaction_count\": 4, \n \"is_flagged\": false, \n \"is_starred\":
Expand Down
8 changes: 4 additions & 4 deletions data/test-delete-submission-from-string.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interactions:
Content-Type: [application/json]
User-Agent: [python-requests/2.20.0]
method: GET
uri: http://localhost:8081/api/v1/sources
uri: http://127.0.0.1:8081/api/v1/sources
response:
body: {string: "{\n \"sources\": [\n {\n \"add_star_url\": \"/api/v1/sources/83442bde-13e7-49a7-b162-646e7f8f87f4/add_star\",
\n \"interaction_count\": 4, \n \"is_flagged\": false, \n \"is_starred\":
Expand Down Expand Up @@ -52,7 +52,7 @@ interactions:
Content-Type: [application/json]
User-Agent: [python-requests/2.20.0]
method: GET
uri: http://localhost:8081/api/v1/sources/83442bde-13e7-49a7-b162-646e7f8f87f4/submissions
uri: http://127.0.0.1:8081/api/v1/sources/83442bde-13e7-49a7-b162-646e7f8f87f4/submissions
response:
body: {string: "{\n \"submissions\": [\n {\n \"download_url\": \"/api/v1/sources/83442bde-13e7-49a7-b162-646e7f8f87f4/submissions/5b157795-1f3f-47ad-96ce-a8b6fe69f6e3/download\",
\n \"filename\": \"1-divided_sawdust-msg.gpg\", \n \"is_read\":
Expand Down Expand Up @@ -84,7 +84,7 @@ interactions:
Content-Type: [application/json]
User-Agent: [python-requests/2.20.0]
method: DELETE
uri: http://localhost:8081/api/v1/sources/83442bde-13e7-49a7-b162-646e7f8f87f4/submissions/5b157795-1f3f-47ad-96ce-a8b6fe69f6e3
uri: http://127.0.0.1:8081/api/v1/sources/83442bde-13e7-49a7-b162-646e7f8f87f4/submissions/5b157795-1f3f-47ad-96ce-a8b6fe69f6e3
response:
body: {string: "{\n \"message\": \"Submission deleted\"\n}\n"}
headers:
Expand All @@ -106,7 +106,7 @@ interactions:
Content-Type: [application/json]
User-Agent: [python-requests/2.20.0]
method: GET
uri: http://localhost:8081/api/v1/submissions
uri: http://127.0.0.1:8081/api/v1/submissions
response:
body: {string: "{\n \"submissions\": [\n {\n \"download_url\": \"/api/v1/sources/83442bde-13e7-49a7-b162-646e7f8f87f4/submissions/50207602-863b-41cd-8451-2af42e45ece8/download\",
\n \"filename\": \"2-divided_sawdust-msg.gpg\", \n \"is_read\":
Expand Down
6 changes: 3 additions & 3 deletions data/test-delete-submission.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interactions:
Content-Type: [application/json]
User-Agent: [python-requests/2.20.0]
method: GET
uri: http://localhost:8081/api/v1/submissions
uri: http://127.0.0.1:8081/api/v1/submissions
response:
body: {string: "{\n \"submissions\": [\n {\n \"download_url\": \"/api/v1/sources/58393a75-75b4-4c9b-9696-9b15741d0e19/submissions/e476e1a2-0f8b-4708-977a-23ce0c5ce2ff/download\",
\n \"filename\": \"1-unfulfilled_ardor-msg.gpg\", \n \"is_read\":
Expand Down Expand Up @@ -51,7 +51,7 @@ interactions:
Content-Type: [application/json]
User-Agent: [python-requests/2.20.0]
method: DELETE
uri: http://localhost:8081/api/v1/sources/58393a75-75b4-4c9b-9696-9b15741d0e19/submissions/e476e1a2-0f8b-4708-977a-23ce0c5ce2ff
uri: http://127.0.0.1:8081/api/v1/sources/58393a75-75b4-4c9b-9696-9b15741d0e19/submissions/e476e1a2-0f8b-4708-977a-23ce0c5ce2ff
response:
body: {string: "{\n \"message\": \"Submission deleted\"\n}\n"}
headers:
Expand All @@ -73,7 +73,7 @@ interactions:
Content-Type: [application/json]
User-Agent: [python-requests/2.20.0]
method: GET
uri: http://localhost:8081/api/v1/submissions
uri: http://127.0.0.1:8081/api/v1/submissions
response:
body: {string: "{\n \"submissions\": [\n {\n \"download_url\": \"/api/v1/sources/58393a75-75b4-4c9b-9696-9b15741d0e19/submissions/25670770-6772-439b-8ce4-733799dc32f8/download\",
\n \"filename\": \"2-unfulfilled_ardor-msg.gpg\", \n \"is_read\":
Expand Down
4 changes: 2 additions & 2 deletions data/test-download-reply.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interactions:
Content-Type: [application/json]
User-Agent: [python-requests/2.20.0]
method: GET
uri: http://localhost:8081/api/v1/replies
uri: http://127.0.0.1:8081/api/v1/replies
response:
body: {string: "{\n \"replies\": [\n {\n \"filename\": \"3-bumptious_arthropod-reply.gpg\",
\n \"is_deleted_by_source\": false, \n \"journalist_username\":
Expand Down Expand Up @@ -51,7 +51,7 @@ interactions:
Content-Type: [application/json]
User-Agent: [python-requests/2.20.0]
method: GET
uri: http://localhost:8081/api/v1/sources/1f0a8826-a118-4a2f-b295-4abc0b41e1b8/replies/e1f1db54-9cd7-41f3-907d-6a260e269a60/download
uri: http://127.0.0.1:8081/api/v1/sources/1f0a8826-a118-4a2f-b295-4abc0b41e1b8/replies/e1f1db54-9cd7-41f3-907d-6a260e269a60/download
response:
body:
string: !!binary |
Expand Down
6 changes: 3 additions & 3 deletions data/test-download-submission.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interactions:
Content-Type: [application/json]
User-Agent: [python-requests/2.20.0]
method: GET
uri: http://localhost:8081/api/v1/submissions
uri: http://127.0.0.1:8081/api/v1/submissions
response:
body: {string: "{\n \"submissions\": [\n {\n \"download_url\": \"/api/v1/sources/a4f133ff-ba19-4986-a2bd-735b6c33be75/submissions/455db36c-16c5-455e-b06f-5e3e8fc6a8b6/download\",
\n \"filename\": \"1-structural_ageratum-msg.gpg\", \n \"is_read\":
Expand Down Expand Up @@ -50,7 +50,7 @@ interactions:
Content-Type: [application/json]
User-Agent: [python-requests/2.20.0]
method: GET
uri: http://localhost:8081/api/v1/sources/a4f133ff-ba19-4986-a2bd-735b6c33be75/submissions/455db36c-16c5-455e-b06f-5e3e8fc6a8b6/download
uri: http://127.0.0.1:8081/api/v1/sources/a4f133ff-ba19-4986-a2bd-735b6c33be75/submissions/455db36c-16c5-455e-b06f-5e3e8fc6a8b6/download
response:
body:
string: !!binary |
Expand Down Expand Up @@ -89,7 +89,7 @@ interactions:
Content-Type: [application/json]
User-Agent: [python-requests/2.20.0]
method: GET
uri: http://localhost:8081/api/v1/sources/a4f133ff-ba19-4986-a2bd-735b6c33be75/submissions/455db36c-16c5-455e-b06f-5e3e8fc6a8b6
uri: http://127.0.0.1:8081/api/v1/sources/a4f133ff-ba19-4986-a2bd-735b6c33be75/submissions/455db36c-16c5-455e-b06f-5e3e8fc6a8b6
response:
body: {string: "{\n \"download_url\": \"/api/v1/sources/a4f133ff-ba19-4986-a2bd-735b6c33be75/submissions/455db36c-16c5-455e-b06f-5e3e8fc6a8b6/download\",
\n \"filename\": \"1-structural_ageratum-msg.gpg\", \n \"is_read\": true,
Expand Down
4 changes: 2 additions & 2 deletions data/test-error-unencrypted-reply.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interactions:
Content-Type: [application/json]
User-Agent: [python-requests/2.20.0]
method: GET
uri: http://localhost:8081/api/v1/sources
uri: http://127.0.0.1:8081/api/v1/sources
response:
body: {string: "{\n \"sources\": [\n {\n \"add_star_url\": \"/api/v1/sources/c3d4c09c-8bc5-4465-a980-a16c747a869d/add_star\",
\n \"interaction_count\": 4, \n \"is_flagged\": false, \n \"is_starred\":
Expand Down Expand Up @@ -53,7 +53,7 @@ interactions:
Content-Type: [application/json]
User-Agent: [python-requests/2.20.0]
method: POST
uri: http://localhost:8081/api/v1/sources/c3d4c09c-8bc5-4465-a980-a16c747a869d/replies
uri: http://127.0.0.1:8081/api/v1/sources/c3d4c09c-8bc5-4465-a980-a16c747a869d/replies
response:
body: {string: "{\n \"message\": \"You must encrypt replies client side\"\n}\n"}
headers:
Expand Down
2 changes: 1 addition & 1 deletion data/test-failed-single-source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interactions:
Content-Type: [application/json]
User-Agent: [python-requests/2.20.0]
method: GET
uri: http://localhost:8081/api/v1/sources/not%20there
uri: http://127.0.0.1:8081/api/v1/sources/not%20there
response:
body: {string: "{\n \"error\": \"Not Found\", \n \"message\": \"The requested
URL was not found on the server. If you entered the URL manually please check
Expand Down
6 changes: 3 additions & 3 deletions data/test-flag-source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interactions:
Content-Type: [application/json]
User-Agent: [python-requests/2.20.0]
method: GET
uri: http://localhost:8081/api/v1/sources
uri: http://127.0.0.1:8081/api/v1/sources
response:
body: {string: "{\n \"sources\": [\n {\n \"add_star_url\": \"/api/v1/sources/bee5c707-de42-4087-886a-1a5cc382467a/add_star\",
\n \"interaction_count\": 4, \n \"is_flagged\": false, \n \"is_starred\":
Expand Down Expand Up @@ -53,7 +53,7 @@ interactions:
Content-Type: [application/json]
User-Agent: [python-requests/2.20.0]
method: POST
uri: http://localhost:8081/api/v1/sources/bee5c707-de42-4087-886a-1a5cc382467a/flag
uri: http://127.0.0.1:8081/api/v1/sources/bee5c707-de42-4087-886a-1a5cc382467a/flag
response:
body: {string: "{\n \"message\": \"Source flagged for reply\"\n}\n"}
headers:
Expand All @@ -75,7 +75,7 @@ interactions:
Content-Type: [application/json]
User-Agent: [python-requests/2.20.0]
method: GET
uri: http://localhost:8081/api/v1/sources/bee5c707-de42-4087-886a-1a5cc382467a
uri: http://127.0.0.1:8081/api/v1/sources/bee5c707-de42-4087-886a-1a5cc382467a
response:
body: {string: "{\n \"add_star_url\": \"/api/v1/sources/bee5c707-de42-4087-886a-1a5cc382467a/add_star\",
\n \"interaction_count\": 4, \n \"is_flagged\": true, \n \"is_starred\":
Expand Down
2 changes: 1 addition & 1 deletion data/test-get-all-replies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interactions:
Content-Type: [application/json]
User-Agent: [python-requests/2.20.0]
method: GET
uri: http://localhost:8081/api/v1/replies
uri: http://127.0.0.1:8081/api/v1/replies
response:
body: {string: "{\n \"replies\": [\n {\n \"filename\": \"3-concealed_straight-reply.gpg\",
\n \"is_deleted_by_source\": false, \n \"journalist_username\":
Expand Down
2 changes: 1 addition & 1 deletion data/test-get-all-submissions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interactions:
Content-Type: [application/json]
User-Agent: [python-requests/2.20.0]
method: GET
uri: http://localhost:8081/api/v1/submissions
uri: http://127.0.0.1:8081/api/v1/submissions
response:
body: {string: "{\n \"submissions\": [\n {\n \"download_url\": \"/api/v1/sources/0ec00900-64ab-4f76-8e09-faaf577e5633/submissions/32bbe523-9262-4fcd-a859-25c729b6dca5/download\",
\n \"filename\": \"1-vibrational_sleep-msg.gpg\", \n \"is_read\":
Expand Down
2 changes: 1 addition & 1 deletion data/test-get-current-user.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interactions:
Content-Type: [application/json]
User-Agent: [python-requests/2.20.0]
method: GET
uri: http://localhost:8081/api/v1/user
uri: http://127.0.0.1:8081/api/v1/user
response:
body: {string: "{\n \"is_admin\": true, \n \"last_login\": \"2018-10-22T23:00:06.845751Z\",
\n \"username\": \"journalist\", \n \"uuid\": \"16db39ec-0f92-4299-a15d-f6053b3d52a7\"\n}\n"}
Expand Down
4 changes: 2 additions & 2 deletions data/test-get-replies-from-source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interactions:
Content-Type: [application/json]
User-Agent: [python-requests/2.20.0]
method: GET
uri: http://localhost:8081/api/v1/sources
uri: http://127.0.0.1:8081/api/v1/sources
response:
body: {string: "{\n \"sources\": [\n {\n \"add_star_url\": \"/api/v1/sources/1f2f6b0e-a152-4ae1-92aa-7e9953ee9db4/add_star\",
\n \"interaction_count\": 4, \n \"is_flagged\": false, \n \"is_starred\":
Expand Down Expand Up @@ -52,7 +52,7 @@ interactions:
Content-Type: [application/json]
User-Agent: [python-requests/2.20.0]
method: GET
uri: http://localhost:8081/api/v1/sources/1f2f6b0e-a152-4ae1-92aa-7e9953ee9db4/replies
uri: http://127.0.0.1:8081/api/v1/sources/1f2f6b0e-a152-4ae1-92aa-7e9953ee9db4/replies
response:
body: {string: "{\n \"replies\": [\n {\n \"filename\": \"3-make-believe_pharmacist-reply.gpg\",
\n \"is_deleted_by_source\": false, \n \"journalist_username\":
Expand Down
6 changes: 3 additions & 3 deletions data/test-get-reply-from-source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interactions:
Content-Type: [application/json]
User-Agent: [python-requests/2.20.0]
method: GET
uri: http://localhost:8081/api/v1/sources
uri: http://127.0.0.1:8081/api/v1/sources
response:
body: {string: "{\n \"sources\": [\n {\n \"add_star_url\": \"/api/v1/sources/562bc2f3-6c23-4168-8218-be8309463bd1/add_star\",
\n \"interaction_count\": 4, \n \"is_flagged\": false, \n \"is_starred\":
Expand Down Expand Up @@ -52,7 +52,7 @@ interactions:
Content-Type: [application/json]
User-Agent: [python-requests/2.20.0]
method: GET
uri: http://localhost:8081/api/v1/sources/562bc2f3-6c23-4168-8218-be8309463bd1/replies
uri: http://127.0.0.1:8081/api/v1/sources/562bc2f3-6c23-4168-8218-be8309463bd1/replies
response:
body: {string: "{\n \"replies\": [\n {\n \"filename\": \"3-unabated_dysphagia-reply.gpg\",
\n \"is_deleted_by_source\": false, \n \"journalist_username\":
Expand Down Expand Up @@ -84,7 +84,7 @@ interactions:
Content-Type: [application/json]
User-Agent: [python-requests/2.20.0]
method: GET
uri: http://localhost:8081/api/v1/sources/562bc2f3-6c23-4168-8218-be8309463bd1/replies/c6cb5121-3585-4587-99de-7c82a46cc74e
uri: http://127.0.0.1:8081/api/v1/sources/562bc2f3-6c23-4168-8218-be8309463bd1/replies/c6cb5121-3585-4587-99de-7c82a46cc74e
response:
body: {string: "{\n \"filename\": \"3-unabated_dysphagia-reply.gpg\", \n \"is_deleted_by_source\":
false, \n \"journalist_username\": \"journalist\", \n \"journalist_uuid\":
Expand Down
4 changes: 2 additions & 2 deletions data/test-get-single-source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interactions:
Content-Type: [application/json]
User-Agent: [python-requests/2.20.0]
method: GET
uri: http://localhost:8081/api/v1/sources
uri: http://127.0.0.1:8081/api/v1/sources
response:
body: {string: "{\n \"sources\": [\n {\n \"add_star_url\": \"/api/v1/sources/a2c25dff-cecb-4194-95b8-8a1cae5c86fc/add_star\",
\n \"interaction_count\": 4, \n \"is_flagged\": false, \n \"is_starred\":
Expand Down Expand Up @@ -52,7 +52,7 @@ interactions:
Content-Type: [application/json]
User-Agent: [python-requests/2.20.0]
method: GET
uri: http://localhost:8081/api/v1/sources/a2c25dff-cecb-4194-95b8-8a1cae5c86fc
uri: http://127.0.0.1:8081/api/v1/sources/a2c25dff-cecb-4194-95b8-8a1cae5c86fc
response:
body: {string: "{\n \"add_star_url\": \"/api/v1/sources/a2c25dff-cecb-4194-95b8-8a1cae5c86fc/add_star\",
\n \"interaction_count\": 4, \n \"is_flagged\": false, \n \"is_starred\":
Expand Down
2 changes: 1 addition & 1 deletion data/test-get-sources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interactions:
Content-Type: [application/json]
User-Agent: [python-requests/2.20.0]
method: GET
uri: http://localhost:8081/api/v1/sources
uri: http://127.0.0.1:8081/api/v1/sources
response:
body: {string: "{\n \"sources\": [\n {\n \"add_star_url\": \"/api/v1/sources/c7abe6eb-e9f6-4bea-9d82-740ffcf833b0/add_star\",
\n \"interaction_count\": 4, \n \"is_flagged\": false, \n \"is_starred\":
Expand Down
6 changes: 3 additions & 3 deletions data/test-get-submission.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interactions:
Content-Type: [application/json]
User-Agent: [python-requests/2.20.0]
method: GET
uri: http://localhost:8081/api/v1/sources
uri: http://127.0.0.1:8081/api/v1/sources
response:
body: {string: "{\n \"sources\": [\n {\n \"add_star_url\": \"/api/v1/sources/812948a6-796f-4d2b-8112-5dd25e09130e/add_star\",
\n \"interaction_count\": 4, \n \"is_flagged\": false, \n \"is_starred\":
Expand Down Expand Up @@ -52,7 +52,7 @@ interactions:
Content-Type: [application/json]
User-Agent: [python-requests/2.20.0]
method: GET
uri: http://localhost:8081/api/v1/sources/812948a6-796f-4d2b-8112-5dd25e09130e/submissions
uri: http://127.0.0.1:8081/api/v1/sources/812948a6-796f-4d2b-8112-5dd25e09130e/submissions
response:
body: {string: "{\n \"submissions\": [\n {\n \"download_url\": \"/api/v1/sources/812948a6-796f-4d2b-8112-5dd25e09130e/submissions/fd20e9ce-663b-48c8-8cc2-bdaff00f95da/download\",
\n \"filename\": \"1-liked_crockery-msg.gpg\", \n \"is_read\": false,
Expand Down Expand Up @@ -83,7 +83,7 @@ interactions:
Content-Type: [application/json]
User-Agent: [python-requests/2.20.0]
method: GET
uri: http://localhost:8081/api/v1/sources/812948a6-796f-4d2b-8112-5dd25e09130e/submissions/fd20e9ce-663b-48c8-8cc2-bdaff00f95da
uri: http://127.0.0.1:8081/api/v1/sources/812948a6-796f-4d2b-8112-5dd25e09130e/submissions/fd20e9ce-663b-48c8-8cc2-bdaff00f95da
response:
body: {string: "{\n \"download_url\": \"/api/v1/sources/812948a6-796f-4d2b-8112-5dd25e09130e/submissions/fd20e9ce-663b-48c8-8cc2-bdaff00f95da/download\",
\n \"filename\": \"1-liked_crockery-msg.gpg\", \n \"is_read\": false, \n
Expand Down
4 changes: 2 additions & 2 deletions data/test-get-submissions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interactions:
Content-Type: [application/json]
User-Agent: [python-requests/2.20.0]
method: GET
uri: http://localhost:8081/api/v1/sources
uri: http://127.0.0.1:8081/api/v1/sources
response:
body: {string: "{\n \"sources\": [\n {\n \"add_star_url\": \"/api/v1/sources/26fe81f9-4d35-4999-9fd6-70963e9fd664/add_star\",
\n \"interaction_count\": 4, \n \"is_flagged\": false, \n \"is_starred\":
Expand Down Expand Up @@ -52,7 +52,7 @@ interactions:
Content-Type: [application/json]
User-Agent: [python-requests/2.20.0]
method: GET
uri: http://localhost:8081/api/v1/sources/26fe81f9-4d35-4999-9fd6-70963e9fd664/submissions
uri: http://127.0.0.1:8081/api/v1/sources/26fe81f9-4d35-4999-9fd6-70963e9fd664/submissions
response:
body: {string: "{\n \"submissions\": [\n {\n \"download_url\": \"/api/v1/sources/26fe81f9-4d35-4999-9fd6-70963e9fd664/submissions/0f939198-de40-4689-bacd-983c1c678bbd/download\",
\n \"filename\": \"1-edifying_skirl-msg.gpg\", \n \"is_read\": false,
Expand Down
Loading

0 comments on commit 131905c

Please sign in to comment.