Skip to content

Commit

Permalink
Fix skipif condition for test_cloud (#2084)
Browse files Browse the repository at this point in the history
  • Loading branch information
kounelisagis authored Oct 10, 2024
1 parent 0cd2714 commit c6ce3e5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tiledb/tests/test_cloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@


@pytest.mark.skipif(
not os.getenv("CI") and tiledb_token is None,
os.getenv("CI") == None
or tiledb_token == None
or tiledb_namespace == None
or s3_bucket == None,
reason="No token was provided in a non-CI environment. Please set the TILEDB_TOKEN environment variable to run this test.",
)
class CloudTest(DiskTestCase):
Expand Down

0 comments on commit c6ce3e5

Please sign in to comment.