Skip to content

Commit 22bfa25

Browse files
committed
adjust domain name presence assertion in tests
1 parent 949f026 commit 22bfa25

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/build_test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ concurrency:
2424
cancel-in-progress: true
2525
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
2626

27+
env:
28+
USE_PASSWORD: "true"
29+
2730
jobs:
2831
lint:
2932
name: Check linting

test/integ/test_put_get_with_aws_token.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def test_put_get_with_aws(tmpdir, conn_cnx, from_path, caplog):
9494
aws_request_present = False
9595
expected_token_prefix = "X-Amz-Signature="
9696
for line in caplog.text.splitlines():
97-
if ".amazonaws." in line:
97+
if ".amazonaws." in line or "s3.localhost.localstack.cloud" in line:
9898
aws_request_present = True
9999
# getattr is used to stay compatible with old driver - before SECRET_STARRED_MASK_STR was added
100100
assert (

0 commit comments

Comments
 (0)