MCPcopy Index your code
hub / github.com/modelscope/modelscope / test_uninstall_plugins

Method test_uninstall_plugins

tests/utils/test_plugin.py:96–110  ·  view source on GitHub ↗

examples for the modelscope uninstall method > modelscope uninstall adaseq > modelscope uninstall -y adaseq

(self)

Source from the content-addressed store, hash-verified

94 self.plugins_manager.uninstall_plugins(uninstall_args)
95
96 def test_uninstall_plugins(self):
97 """
98 examples for the modelscope uninstall method
99 > modelscope uninstall adaseq
100 > modelscope uninstall -y adaseq
101 """
102 install_args = [self.package]
103 status_code, install_args = self.plugins_manager.install_plugins(
104 install_args)
105 self.assertEqual(status_code, 0)
106
107 uninstall_args = [self.package, '-y']
108 status_code, uninstall_args = self.plugins_manager.uninstall_plugins(
109 uninstall_args)
110 self.assertEqual(status_code, 0)
111
112 def test_list_plugins(self):
113 """

Callers

nothing calls this directly

Calls 2

install_pluginsMethod · 0.80
uninstall_pluginsMethod · 0.80

Tested by

no test coverage detected