(self)
| 16 | super().tearDown() |
| 17 | |
| 18 | def test_plugins_install(self): |
| 19 | cmd = f'python -m modelscope.cli.cli plugin install {self.package}' |
| 20 | stat, output = subprocess.getstatusoutput(cmd) |
| 21 | self.assertEqual(stat, 0) |
| 22 | |
| 23 | # move this from tear down to avoid unexpected uninstall |
| 24 | uninstall_args = [self.package, '-y'] |
| 25 | self.plugins_manager.uninstall_plugins(uninstall_args) |
| 26 | |
| 27 | def test_plugins_uninstall(self): |
| 28 | # move this from tear down to avoid unexpected uninstall |
nothing calls this directly
no test coverage detected