This commit is contained in:
kssenii 2022-09-21 20:51:09 +02:00
parent e34101456a
commit 92c2219e82

View File

@ -1704,7 +1704,8 @@ def test_ast_auth_headers(started_cluster):
f"select count() from s3('http://resolver:8080/{bucket}/{filename}', 'CSV')"
)
assert "Forbidden Error. (S3_ERROR)" in result
assert "Forbidden Error" in result
assert "S3Exception" in result
result = instance.query(
f"select * from s3('http://resolver:8080/{bucket}/{filename}', 'CSV', headers(Authorization=`Bearer TOKEN`))"