Fix WM bindings tests

This commit is contained in:
ZyX 2014-09-21 15:49:00 +04:00
parent 1a3ff92a62
commit 679b66466f
1 changed files with 2 additions and 1 deletions

View File

@ -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)