We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8b1bc3 commit 9c0fbecCopy full SHA for 9c0fbec
tests/build_spec/test_build_spec.py
@@ -106,6 +106,13 @@ def _test_build_spec(
106
loaded_config = loaded_model.config
107
assert "deepimagej" in loaded_config
108
109
+ if loaded_model.sample_inputs is not missing:
110
+ for sample in loaded_model.sample_inputs:
111
+ assert sample.exists()
112
+ if loaded_model.sample_outputs is not missing:
113
+ for sample in loaded_model.sample_outputs:
114
115
+
116
attachments = loaded_model.attachments
117
if attachments is not missing and attachments.files is not missing:
118
for attached_file in attachments["files"]:
0 commit comments