diff --git a/tests/drivers/test_sqlite_remote.py b/tests/drivers/test_sqlite_remote.py index 0fa7ebfa..ffc92318 100644 --- a/tests/drivers/test_sqlite_remote.py +++ b/tests/drivers/test_sqlite_remote.py @@ -75,7 +75,7 @@ def _s3_db_factory(keys, datasets=None): return _s3_db_factory -@moto.mock_s3 +@moto.mock_aws def test_remote_database(s3_db_factory): keys = ("some", "keys") dbpath = s3_db_factory(keys) @@ -94,7 +94,7 @@ def test_invalid_url(): get_driver("foo", provider="sqlite-remote") -@moto.mock_s3 +@moto.mock_aws def test_nonexisting_url(): from terracotta import exceptions, get_driver @@ -102,7 +102,7 @@ def test_nonexisting_url(): get_driver("s3://foo/db.sqlite") -@moto.mock_s3 +@moto.mock_aws def test_remote_database_cache(s3_db_factory, raster_file, monkeypatch): keys = ("some", "keys") dbpath = s3_db_factory(keys) @@ -138,7 +138,7 @@ def test_remote_database_cache(s3_db_factory, raster_file, monkeypatch): assert os.path.getmtime(driver.meta_store._local_path) != modification_date -@moto.mock_s3 +@moto.mock_aws def test_immutability(s3_db_factory, raster_file): keys = ("some", "keys") dbpath = s3_db_factory(keys, datasets={("some", "value"): str(raster_file)}) @@ -157,7 +157,7 @@ def test_immutability(s3_db_factory, raster_file): driver.delete(("some", "value")) -@moto.mock_s3 +@moto.mock_aws def test_destructor(s3_db_factory, raster_file, capsys): keys = ("some", "keys") dbpath = s3_db_factory(keys, datasets={("some", "value"): str(raster_file)})