Skip to content

Commit

Permalink
Add backend fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
Shmuma committed Jan 7, 2025
1 parent 8ac796c commit b385b9a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/integration/test_cloud_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ def test_cloud_storage_setup_scripts(

# this test was used to check SaaS integration tests, but
# might be broken if SaaSBucket will support iteration eventually
def test_saas_bucket_cannot_be_iterated(secrets: Secrets, setup_itde):
def test_saas_bucket_cannot_be_iterated(backend, secrets: Secrets, setup_itde):
if backend != "saas":
pytest.skip('The test runs only with SaaS database')
bucket = open_bucketfs_connection(secrets)
with pytest.raises(TypeError, match="not iterable"):
list(bucket)

0 comments on commit b385b9a

Please sign in to comment.