MCPcopy Create free account
hub / github.com/Project-MONAI/MONAI / setUp

Method setUp

tests/bundle/test_bundle_verify_metadata.py:33–40  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

31@skip_if_windows
32class TestVerifyMetaData(unittest.TestCase):
33 def setUp(self):
34 self.config = testing_data_config("configs", "test_meta_file")
35 download_url_or_skip_test(
36 url=self.config["url"],
37 filepath=SCHEMA_FILE,
38 hash_val=self.config.get("hash_val"),
39 hash_type=self.config.get("hash_type", "sha256"),
40 )
41
42 @parameterized.expand([TEST_CASE_1])
43 def test_verify(self, meta_file, schema_file):

Callers

nothing calls this directly

Calls 3

testing_data_configFunction · 0.90
getMethod · 0.80

Tested by

no test coverage detected