aboutsummaryrefslogtreecommitdiff
path: root/app/tests/test_backends.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/tests/test_backends.py')
-rw-r--r--app/tests/test_backends.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/app/tests/test_backends.py b/app/tests/test_backends.py
index acee6b6..0e260be 100644
--- a/app/tests/test_backends.py
+++ b/app/tests/test_backends.py
@@ -31,13 +31,11 @@ class RegistryTests(unittest.TestCase):
keys = [info.key for info in REGISTRY]
self.assertEqual(keys, ["audiocpp", "qwen", "faster"])
- def test_every_entry_has_detect_and_setup_tui(self):
+ def test_every_entry_has_detect_setup_and_uninstall(self):
for info in REGISTRY:
self.assertTrue(callable(info.detect), info.key)
self.assertTrue(callable(info.setup_tui), info.key)
- self.assertIsInstance(info.configure_actions, list)
- for action in info.configure_actions:
- self.assertTrue(callable(action.run))
+ self.assertTrue(callable(info.uninstall), info.key)
def test_get_returns_entry_by_key(self):
self.assertIs(get("audiocpp").key, "audiocpp")