mirror of
https://github.com/powerline/powerline.git
synced 2025-07-31 01:35:40 +02:00
Update tests
This commit is contained in:
parent
8230f542c6
commit
7864acb70b
@ -19,7 +19,7 @@ class TestConfig(TestCase):
|
|||||||
def test_vim(self):
|
def test_vim(self):
|
||||||
from powerline.vim import VimPowerline
|
from powerline.vim import VimPowerline
|
||||||
cfg_path = os.path.join(os.path.dirname(os.path.dirname(__file__)), 'powerline', 'config_files')
|
cfg_path = os.path.join(os.path.dirname(os.path.dirname(__file__)), 'powerline', 'config_files')
|
||||||
buffers = ((('bufoptions',), {'buftype': 'help'}), (('buffer', '[Command Line]'), {}))
|
buffers = ((('bufoptions',), {'buftype': 'help'}), (('buffer', '[Command Line]'), {}), (('bufoptions',), {'buftype': 'quickfix'}))
|
||||||
with open(os.path.join(cfg_path, 'config.json'), 'r') as f:
|
with open(os.path.join(cfg_path, 'config.json'), 'r') as f:
|
||||||
self.assertEqual(len(buffers), len(json.load(f)['ext']['vim']['local_themes']))
|
self.assertEqual(len(buffers), len(json.load(f)['ext']['vim']['local_themes']))
|
||||||
outputs = {}
|
outputs = {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user