From 679b66466fd6fe9834108eddc8d8eb4f203ae92a Mon Sep 17 00:00:00 2001 From: ZyX Date: Sun, 21 Sep 2014 15:49:00 +0400 Subject: [PATCH] Fix WM bindings tests --- tests/test_provided_config_files.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_provided_config_files.py b/tests/test_provided_config_files.py index 9fc2b6ea..acf494da 100644 --- a/tests/test_provided_config_files.py +++ b/tests/test_provided_config_files.py @@ -13,6 +13,7 @@ import tests.vim as vim_module from tests.lib import Args, urllib_read, replace_attr from tests import TestCase +from powerline.segments.common import wthr VBLOCK = chr(ord('V') - 0x40) SBLOCK = chr(ord('S') - 0x40) @@ -145,7 +146,7 @@ class TestConfig(TestCase): from imp import reload reload(common) from powerline import Powerline - with replace_attr(common, 'urllib_read', urllib_read): + with replace_attr(wthr, 'urllib_read', urllib_read): Powerline(ext='wm', renderer_module='pango_markup', run_once=True).render() reload(common)