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

Method test_fake_token

tests/bundle/test_bundle_get_data.py:87–90  ·  view source on GitHub ↗
(self, params)

Source from the content-addressed store, hash-verified

85 @parameterized.expand([TEST_CASE_FAKE_TOKEN_1, TEST_CASE_FAKE_TOKEN_2])
86 @skip_if_quick
87 def test_fake_token(self, params):
88 with skip_if_downloading_fails():
89 with self.assertRaises(requests.exceptions.HTTPError):
90 get_bundle_info(**params)
91
92
93if __name__ == "__main__":

Callers

nothing calls this directly

Calls 2

get_bundle_infoFunction · 0.90

Tested by

no test coverage detected