File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -70,16 +70,17 @@ def test_load_model_with_rel_str_source(unet2d_nuclei_broad_model):
7070 assert model
7171
7272
73- @pytest .mark .skipif (pytest . skip_torch , reason = "requires pytorch " )
74- def test_load_remote_model_with_folders ():
73+ @pytest .mark .skipif (True , reason = "No suitable test model available yet " )
74+ def test_load_remote_rdf_with_folders ():
7575 from bioimageio .core import load_resource_description , load_raw_resource_description
7676 from bioimageio .core .resource_io import nodes
7777 from bioimageio .spec .model import raw_nodes
7878
79- # todo: point to real model with nested folders, not this temporary sandbox one
80- rdf_url = "https://sandbox.zenodo.org/record/892199/files/rdf.yaml"
81- raw_model = load_raw_resource_description (rdf_url , update_to_format = "latest" )
79+ rdf_doi = "<doi to rdf with local folders>"
80+ raw_model = load_raw_resource_description (rdf_doi , update_to_format = "latest" )
8281 assert isinstance (raw_model , raw_nodes .Model )
83- model = load_resource_description (rdf_url )
82+ model = load_resource_description (rdf_doi )
8483 assert isinstance (model , nodes .Model )
84+
85+ # test for field value with folder, e.g.
8586 assert resolve_source (raw_model .documentation ) == model .documentation
You can’t perform that action at this time.
0 commit comments