From 4f804686451d256bcb2e8211bd9a157143c3f2db Mon Sep 17 00:00:00 2001 From: ZyX Date: Fri, 10 Jan 2014 23:17:06 +0400 Subject: [PATCH] Fix tests broken due to jobnum introduction --- tests/test_configuration.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_configuration.py b/tests/test_configuration.py index 19b9bb04..93857ec4 100644 --- a/tests/test_configuration.py +++ b/tests/test_configuration.py @@ -76,7 +76,7 @@ class TestConfig(TestCase): def test_zsh(self): from powerline.shell import ShellPowerline - args = Args(last_pipe_status=[1, 0], ext=['shell'], renderer_module='zsh_prompt') + args = Args(last_pipe_status=[1, 0], jobnum=0, ext=['shell'], renderer_module='zsh_prompt') with ShellPowerline(args, run_once=False) as powerline: powerline.render(segment_info={'args': args}) with ShellPowerline(args, run_once=False) as powerline: @@ -84,7 +84,7 @@ class TestConfig(TestCase): def test_bash(self): 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, jobnum=0, ext=['shell'], renderer_module='bash_prompt', config={'ext': {'shell': {'theme': 'default_leftonly'}}}) with ShellPowerline(args, run_once=False) as powerline: powerline.render(segment_info={'args': args}) with ShellPowerline(args, run_once=False) as powerline: