Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion tests/smoke/test_federation.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@

DEPLOY_URL = os.environ.get("DEPLOY_URL", "http://localhost:8787").rstrip("/")
FEDERATION_BUCKET = "federated-test"
FEDERATION_TEST_KEY = os.environ.get("FEDERATION_TEST_KEY", "hello.txt")
# Use `or` (not a get() default): the workflow passes `${{ vars.FEDERATION_TEST_KEY }}`,
# which expands to "" — not unset — when the repo var is missing, and an empty key
# would GET the bucket root instead of the object.
FEDERATION_TEST_KEY = os.environ.get("FEDERATION_TEST_KEY") or "hello.txt"


def test_federation_serves_private_object():
Expand Down
Loading