MCPcopy Create free account
hub / github.com/modelscope/modelscope / setUp

Method setUp

tests/hub/test_hub_examples.py:14–16  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

12class HubExampleTest(unittest.TestCase):
13
14 def setUp(self):
15 self.api = HubApi()
16 self.api.login(YOUR_ACCESS_TOKEN)
17
18 @unittest.skip('to be used for local test only')
19 def test_example_model_creation(self):

Callers

nothing calls this directly

Calls 1

HubApiClass · 0.90

Tested by

no test coverage detected