From fd4812ab5614cd258044d6401bd32abf08a759eb Mon Sep 17 00:00:00 2001 From: Vit Zikmund Date: Thu, 25 Apr 2024 09:38:25 +0200 Subject: [PATCH] chore(test): fix expected responses w/authenticated: false --- tests/transfer/test_basic_external_adapter.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/transfer/test_basic_external_adapter.py b/tests/transfer/test_basic_external_adapter.py index cdcc206..c595eec 100644 --- a/tests/transfer/test_basic_external_adapter.py +++ b/tests/transfer/test_basic_external_adapter.py @@ -43,7 +43,7 @@ def test_upload_action_new_file(app: flask.Flask) -> None: assert response == { "oid": "abcdef123456", "size": 1234, - "authenticated": True, + "authenticated": False, "actions": { "upload": { "href": "https://cloudstorage.example.com/myorg/myrepo/abcdef123456?expires_in=900", @@ -75,7 +75,7 @@ def test_upload_action_extras_are_passed(app: flask.Flask) -> None: assert response == { "oid": "abcdef123456", "size": 1234, - "authenticated": True, + "authenticated": False, "actions": { "upload": { "href": "https://cloudstorage.example.com/myorg/myrepo/abcdef123456?expires_in=900&filename=foo.csv", @@ -120,7 +120,7 @@ def test_download_action_existing_file() -> None: assert response == { "oid": "abcdef123456", "size": 1234, - "authenticated": True, + "authenticated": False, "actions": { "download": { "href": "https://cloudstorage.example.com/myorg/myrepo/abcdef123456?expires_in=900", @@ -177,7 +177,7 @@ def test_download_action_extras_are_passed() -> None: assert response == { "oid": "abcdef123456", "size": 1234, - "authenticated": True, + "authenticated": False, "actions": { "download": { "href": "https://cloudstorage.example.com/myorg/myrepo/abcdef123456?expires_in=900&filename=foo.csv",