Skip to content

Commit

Permalink
add ASDC to fsspec session test
Browse files Browse the repository at this point in the history
  • Loading branch information
danielfromearth committed Apr 12, 2024
1 parent 0a471c9 commit bdf3d03
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion tests/unit/test_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,15 @@ def test_store_can_create_s3_fsspec_session(self):

store = Store(self.auth)
self.assertTrue(isinstance(store.auth, Auth))
for daac in ["NSIDC", "PODAAC", "LPDAAC", "ORNLDAAC", "GES_DISC", "ASF"]:
for daac in [
"NSIDC",
"PODAAC",
"LPDAAC",
"ORNLDAAC",
"GES_DISC",
"ASF",
"ASDC",
]:
s3_fs = store.get_s3fs_session(daac=daac)
assert isinstance(s3_fs, s3fs.S3FileSystem)
assert s3_fs.storage_options == expected_storage_options
Expand All @@ -114,6 +122,7 @@ def test_store_can_create_s3_fsspec_session(self):
"ORNL_CLOUD",
"GES_DISC",
"ASF",
"ASDC",
]:
s3_fs = store.get_s3fs_session(provider=provider)
assert isinstance(s3_fs, s3fs.S3FileSystem)
Expand Down

0 comments on commit bdf3d03

Please sign in to comment.