Skip to content

Commit

Permalink
chore(test): fix expected responses w/authenticated: false
Browse files Browse the repository at this point in the history
  • Loading branch information
vit-zikmund committed Apr 25, 2024
1 parent c0a7963 commit fd4812a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/transfer/test_basic_external_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit fd4812a

Please sign in to comment.