mirror of
https://github.com/beetbox/beets.git
synced 2026-02-24 00:02:20 +01:00
Fix tests to use config['ui']['color'] instead of top-level color
This commit is contained in:
parent
d3fce35481
commit
e7378c77a7
2 changed files with 2 additions and 2 deletions
|
|
@ -165,7 +165,7 @@ class TestHelper(object):
|
|||
|
||||
self.config['plugins'] = []
|
||||
self.config['verbose'] = True
|
||||
self.config['color'] = False
|
||||
self.config['ui']['color'] = False
|
||||
self.config['threaded'] = False
|
||||
|
||||
self.libdir = os.path.join(self.temp_dir, 'libdir')
|
||||
|
|
|
|||
|
|
@ -888,7 +888,7 @@ class ShowChangeTest(_common.TestCase):
|
|||
items = items or self.items
|
||||
info = info or self.info
|
||||
mapping = dict(zip(items, info.tracks))
|
||||
config['color'] = False
|
||||
config['ui']['color'] = False
|
||||
album_dist = distance(items, info, mapping)
|
||||
album_dist._penalties = {'album': [dist]}
|
||||
commands.show_change(
|
||||
|
|
|
|||
Loading…
Reference in a new issue