Fix tests
This commit is contained in:
parent
85ea44b1ee
commit
ed70cc2eb2
|
@ -116,9 +116,14 @@ class TestConfig(TestCase):
|
||||||
config_overrides = None
|
config_overrides = None
|
||||||
theme_overrides = {}
|
theme_overrides = {}
|
||||||
|
|
||||||
with IpyPowerline() as powerline:
|
|
||||||
segment_info = Args(prompt_count=1)
|
segment_info = Args(prompt_count=1)
|
||||||
for prompt_type in ['in', 'in2', 'out', 'rewrite']:
|
|
||||||
|
with IpyPowerline(True) as powerline:
|
||||||
|
for prompt_type in ['in', 'in2']:
|
||||||
|
powerline.render(matcher_info=prompt_type, segment_info=segment_info)
|
||||||
|
powerline.render(matcher_info=prompt_type, segment_info=segment_info)
|
||||||
|
with IpyPowerline(False) as powerline:
|
||||||
|
for prompt_type in ['out', 'rewrite']:
|
||||||
powerline.render(matcher_info=prompt_type, segment_info=segment_info)
|
powerline.render(matcher_info=prompt_type, segment_info=segment_info)
|
||||||
powerline.render(matcher_info=prompt_type, segment_info=segment_info)
|
powerline.render(matcher_info=prompt_type, segment_info=segment_info)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue