taskwiki/tests/test_config.py
Tomas Janousek 14c0268438 tests: Upgrade vimrunner and drop the now unnecessary hacks
This makes the tests less brittle and potentially also faster.
2020-07-02 09:51:56 -04:00

14 lines
492 B
Python

from tests.base import IntegrationTest
class TestSimpleColorAssigment(IntegrationTest):
def configure_global_variables(self):
super(TestSimpleColorAssigment, self).configure_global_variables()
self.command('let g:taskwiki_source_tw_colors="yes"')
# Also setup TW config at this point
self.tw.execute_command(['config', 'color.active', 'color2'])
def execute(self):
assert "ctermfg=2" in self.command("hi TaskWikiTaskActive", silent=False)