Skip to content

Commit b2efff4

Browse files
committed
update tests
1 parent 3182f6b commit b2efff4

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tests/test_prediction.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,17 @@
99

1010

1111
def test_test_model(unet2d_nuclei_broad_model):
12-
from bioimageio.core.prediction import test_model
12+
from bioimageio.core.resource_tests import test_model
1313

1414
assert test_model(unet2d_nuclei_broad_model)
1515

1616

17+
def test_test_resource(unet2d_nuclei_broad_model):
18+
from bioimageio.core.resource_tests import test_resource
19+
20+
assert test_resource(unet2d_nuclei_broad_model)
21+
22+
1723
def test_predict_image(unet2d_fixed_shape_or_not, tmpdir):
1824
any_model = unet2d_fixed_shape_or_not # todo: replace 'unet2d_fixed_shape_or_not' with 'any_model'
1925
from bioimageio.core.prediction import predict_image

0 commit comments

Comments
 (0)