Also fix bash tests

This commit is contained in:
ZyX 2013-05-02 16:01:44 +04:00
parent b78a8cea14
commit 467bc53589

View File

@ -71,7 +71,7 @@ class TestConfig(TestCase):
def test_bash(self): def test_bash(self):
from powerline.shell import ShellPowerline from powerline.shell import ShellPowerline
args = Args(last_exit_code=1, ext=['shell'], renderer_module='bash_prompt', config=[('ext', {'shell': {'theme': 'default_leftonly'}})]) args = Args(last_exit_code=1, ext=['shell'], renderer_module='bash_prompt', config={'ext': {'shell': {'theme': 'default_leftonly'}}})
with ShellPowerline(args, run_once=False) as powerline: with ShellPowerline(args, run_once=False) as powerline:
powerline.render(segment_info={'args': args}) powerline.render(segment_info={'args': args})
with ShellPowerline(args, run_once=False) as powerline: with ShellPowerline(args, run_once=False) as powerline: