Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
keller-mark committed Oct 5, 2024
1 parent bc5e21c commit 042b678
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
make_repr,
CoordinationLevel as CL,
AnnDataWrapper,
ImageOmeTiffWrapper,

# Neither of these is in the source code, but they do appear in code which is eval'd.
VitessceChainableConfig,
Expand Down Expand Up @@ -120,6 +121,11 @@ def test_config_add_anndata_url():
"initStrategy": "auto"
}

def test_config_artifact_is_remote_image_ome_tiff():
iw = ImageOmeTiffWrapper(
img_artifact=MockArtifact("My anndata artifact", "http://example.com/adata.h5ad.zarr"),
)
assert iw.is_remote == True

def test_config_add_anndata_artifact():
vc = VitessceConfig(schema_version="1.0.15")
Expand Down

0 comments on commit 042b678

Please sign in to comment.