From e41525adbc1948683f66d7077a99664c460e87ee Mon Sep 17 00:00:00 2001 From: J0J0 T Date: Fri, 12 Aug 2022 06:48:06 +0200 Subject: [PATCH] convert: playlist: Remove clutter from test - Remove comments in tearDown - Don't test for converted.mp3, it's done in a separate test already, we only want to test for the playlist file here. --- test/test_convert.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/test/test_convert.py b/test/test_convert.py index f114a04dc..950711f76 100644 --- a/test/test_convert.py +++ b/test/test_convert.py @@ -184,9 +184,8 @@ class ConvertCliTest(unittest.TestCase, TestHelper, ConvertCommand): } def tearDown(self): - pass - #self.unload_plugins() - #self.teardown_beets() + self.unload_plugins() + self.teardown_beets() def test_convert(self): with control_stdin('y'): @@ -297,8 +296,6 @@ class ConvertCliTest(unittest.TestCase, TestHelper, ConvertCommand): def test_playlist(self): with control_stdin('y'): self.run_convert('--playlist', 'playlist.m3u8') - converted = os.path.join(self.convert_dest, b'converted.mp3') - self.assertFileTag(converted, 'mp3') m3u_created = os.path.join(self.convert_dest, b'playlist.m3u8') self.assertTrue(os.path.exists(m3u_created))