mirror of
https://github.com/beetbox/beets.git
synced 2026-02-21 14:56:02 +01:00
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.
This commit is contained in:
parent
9930a5da59
commit
e41525adbc
1 changed files with 2 additions and 5 deletions
|
|
@ -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))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue