Skip to content

Commit f04288a

Browse files
committed
adjust domain name presence assertion in tests
1 parent f4f0b25 commit f04288a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)