File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 1+ import pytest
12from exasol .nb_connector .secret_store import Secrets
23from exasol .nb_connector .github import retrieve_jar , Project
34from exasol .nb_connector .connections import open_bucketfs_connection , open_pyexasol_connection
@@ -19,3 +20,11 @@ def test_cloud_storage_setup_scripts(
1920 setup_scripts (db_conn , secrets .db_schema , str (bfs_jar_path ))
2021 counts = get_script_counts (db_conn , secrets )
2122 assert counts ['UDF' ] == 3
23+
24+
25+ # this test was used to check SaaS integration tests, but
26+ # might be broken if SaaSBucket will support iteration eventually
27+ def test_saas_bucket_cannot_be_iterated (secrets : Secrets , setup_itde ):
28+ bucket = open_bucketfs_connection (secrets )
29+ with pytest .raises (TypeError , match = "not iterable" ):
30+ list (bucket )
You can’t perform that action at this time.
0 commit comments