Skip to content

Commit e2ad07f

Browse files
committed
skip test that depends on zenodo sandbox
test resource has been removed
1 parent 270879c commit e2ad07f

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

tests/resource_io/test_load_rdf.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)