From e7378c77a73b5a7ef27b9d153004f01feb490343 Mon Sep 17 00:00:00 2001 From: Tom Jaspers Date: Thu, 29 Jan 2015 14:04:37 +0100 Subject: [PATCH] Fix tests to use config['ui']['color'] instead of top-level color --- test/helper.py | 2 +- test/test_ui.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/helper.py b/test/helper.py index a1faf2a63..2f0889bc0 100644 --- a/test/helper.py +++ b/test/helper.py @@ -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') diff --git a/test/test_ui.py b/test/test_ui.py index e32f9ed83..05e3b53c2 100644 --- a/test/test_ui.py +++ b/test/test_ui.py @@ -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(