diff options
| author | Xusheng <xusheng@vector35.com> | 2022-04-14 17:16:22 +0800 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2022-04-14 07:56:18 -0400 |
| commit | dc0626a11c30387993380a31db3b4bce23d81983 (patch) | |
| tree | 2414485096ac7d5dd01fc64e5f930b42ac2bfb95 | |
| parent | 6d30fca932b0ae0f0b27a80a245ab74754ace09b (diff) | |
Switch to use the z80 arch plugin for the plugin installation test
| -rw-r--r-- | suite/api_test.py | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/suite/api_test.py b/suite/api_test.py index bf6fb975..bcb9beb4 100644 --- a/suite/api_test.py +++ b/suite/api_test.py @@ -474,21 +474,21 @@ class PluginManagerTest(unittest.TestCase): assert mgr.default_repository.path == 'community' assert 'community' in [r.path for r in mgr.repositories] assert 'official' in [r.path for r in mgr.repositories] - assert 'Vector35_debugger' in [p.path for p in mgr['official'].plugins] + assert 'Vector35_Z80' in [p.path for p in mgr['official'].plugins] try: - dbg = mgr['official']['Vector35_debugger'] - assert dbg.dependencies == 'colorama\n' - assert dbg.name == 'Debugger' - assert not dbg.installed - assert not dbg.running - assert not dbg.enabled - assert not dbg.disable_pending - dbg.install() - dbg.enable() - assert dbg.installed - assert dbg.enabled + plugin = mgr['official']['Vector35_Z80'] + assert plugin.dependencies == 'z80dis\n' + assert plugin.name == 'Z80 Architecture Plugin' + assert not plugin.installed + assert not plugin.running + assert not plugin.enabled + assert not plugin.disable_pending + plugin.install() + plugin.enable() + assert plugin.installed + assert plugin.enabled finally: - dbg.uninstall() + plugin.uninstall() class TypeParserTest(unittest.TestCase): |
