Skip to content

Commit

Permalink
Merge branch 'docs/msg' of github.com:Lightning-AI/litdata into docs/msg
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Sep 18, 2024
2 parents 1881c0e + 9e74f30 commit d494297
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/streaming/test_resolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ def test_src_resolver_s3_connections(monkeypatch, lightning_cloud_mock):
auth = login.Auth()
auth.save(user_id="7c8455e3-7c5f-4697-8a6d-105971d6b9bd", api_key="e63fae57-2b50-498b-bc46-d6204cbf330e")

with pytest.raises(RuntimeError, match="`LIGHTNING_CLOUD_PROJECT_ID` couldn't be found from the environment variables."):
with pytest.raises(
RuntimeError, match="`LIGHTNING_CLOUD_PROJECT_ID` couldn't be found from the environment variables."
):
resolver._resolve_dir("/teamspace/s3_connections/imagenet")

monkeypatch.setenv("LIGHTNING_CLOUD_PROJECT_ID", "project_id")
Expand Down

0 comments on commit d494297

Please sign in to comment.