mirror of
https://github.com/beetbox/beets.git
synced 2026-01-13 19:52:48 +01:00
Fix tests
This commit is contained in:
parent
692060cc0a
commit
2b41775b8a
1 changed files with 2 additions and 0 deletions
|
|
@ -418,6 +418,7 @@ class MBAlbumInfoTest(_common.TestCase):
|
|||
self.assertEqual(d.tracks[1].title, 'TITLE TWO')
|
||||
|
||||
def test_no_skip_video_tracks_if_configured(self):
|
||||
config['match']['ignore_data_tracks'] = False
|
||||
config['match']['ignore_video_tracks'] = False
|
||||
tracks = [self._make_track('TITLE ONE', 'ID ONE', 100.0 * 1000.0),
|
||||
self._make_track('TITLE VIDEO', 'ID VIDEO', 100.0 * 1000.0,
|
||||
|
|
@ -431,6 +432,7 @@ class MBAlbumInfoTest(_common.TestCase):
|
|||
self.assertEqual(d.tracks[2].title, 'TITLE TWO')
|
||||
|
||||
def test_no_skip_video_data_tracks_if_configured(self):
|
||||
config['match']['ignore_data_tracks'] = False
|
||||
config['match']['ignore_video_tracks'] = False
|
||||
tracks = [self._make_track('TITLE ONE', 'ID ONE', 100.0 * 1000.0),
|
||||
self._make_track('TITLE TWO', 'ID TWO', 200.0 * 1000.0)]
|
||||
|
|
|
|||
Loading…
Reference in a new issue