mirror of
https://github.com/rasterio/rasterio.git
synced 2025-12-08 17:36:12 +00:00
Skip test if we have no AWS credentials
This commit is contained in:
parent
79971ce33d
commit
79e3ec4eb6
@ -416,7 +416,7 @@ def test_info_no_credentials(tmpdir, monkeypatch, runner):
|
||||
['info', 'tests/data/RGB.byte.tif'])
|
||||
assert result.exit_code == 0
|
||||
|
||||
|
||||
@pytest.mark.skipif(not(boto3.Session()._session.get_credentials()), reason="S3 raster access requires credentials")
|
||||
@requires_gdal23(reason="Unsigned S3 requests require GDAL ~= 2.3")
|
||||
@pytest.mark.network
|
||||
def test_info_aws_unsigned(runner):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user