mirror of
https://github.com/powerline/powerline.git
synced 2025-07-23 22:05:43 +02:00
Also fix bash tests
This commit is contained in:
parent
b78a8cea14
commit
467bc53589
@ -71,7 +71,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, 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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user