mirror of
https://github.com/tbabej/taskwiki.git
synced 2025-08-18 21:33:07 +02:00
15 lines
535 B
Python
15 lines
535 B
Python
from time import sleep
|
|
from tests.base import IntegrationTest, MultipleSourceTest
|
|
|
|
|
|
class TestSimpleColorAssigment(IntegrationTest):
|
|
|
|
def configure_global_varialbes(self):
|
|
super(TestSimpleColorAssigment, self).configure_global_varialbes()
|
|
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)
|