diff --git a/test/test_mbsubmit.py b/test/test_mbsubmit.py index 5047fd3d0..808af9d8c 100644 --- a/test/test_mbsubmit.py +++ b/test/test_mbsubmit.py @@ -34,6 +34,7 @@ class MBSubmitPluginTest(TerminalImportSessionSetup, unittest.TestCase, def tearDown(self): self.unload_plugins() self.teardown_beets() + self.matcher.restore() def test_print_tracks_output(self): """Test the output of the "print tracks" choice.""" diff --git a/test/test_plugins.py b/test/test_plugins.py index 6f8035511..eaf2e83ed 100644 --- a/test/test_plugins.py +++ b/test/test_plugins.py @@ -419,6 +419,7 @@ class PromptChoicesTest(TerminalImportSessionSetup, unittest.TestCase, self.input_options_patcher.stop() self.teardown_plugin_loader() self.teardown_beets() + self.matcher.restore() def test_plugin_choices_in_ui_input_options_album(self): """Test the presence of plugin choices on the prompt (album)."""