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

Method test_all_plugins

tests/utils/test_plugin.py:49–55  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

47 assert MODELS.get('dummy-model', 'dummy-group') is not None
48
49 def test_all_plugins(self):
50 with pushd(self.plugins_root):
51 available_plugins = set(discover_plugins())
52 assert available_plugins == {'dummy'}
53
54 import_all_plugins()
55 assert MODELS.get('dummy-model', 'dummy-group') is not None
56
57 def test_install_plugins(self):
58 """

Callers

nothing calls this directly

Calls 4

pushdFunction · 0.90
discover_pluginsFunction · 0.90
import_all_pluginsFunction · 0.90
getMethod · 0.45

Tested by

no test coverage detected