mirror of
https://github.com/tbabej/taskwiki.git
synced 2025-08-19 15:53:07 +02:00
tests: Add some sleep before checking scriptnames
This commit is contained in:
parent
a9b83b4a73
commit
e4cbd534d1
1 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,7 @@ import tempfile
|
||||||
import vimrunner
|
import vimrunner
|
||||||
|
|
||||||
from tasklib.task import TaskWarrior, Task
|
from tasklib.task import TaskWarrior, Task
|
||||||
|
from time import sleep
|
||||||
|
|
||||||
server = vimrunner.Server()
|
server = vimrunner.Server()
|
||||||
|
|
||||||
|
@ -51,6 +52,7 @@ class IntegrationTest(object):
|
||||||
self.filepath = os.path.join(self.dir, 'testwiki.txt')
|
self.filepath = os.path.join(self.dir, 'testwiki.txt')
|
||||||
self.client.edit(self.filepath)
|
self.client.edit(self.filepath)
|
||||||
self.command('set filetype=vimwiki', silent=None) # TODO: fix these vimwiki loading errors
|
self.command('set filetype=vimwiki', silent=None) # TODO: fix these vimwiki loading errors
|
||||||
|
sleep(1) # Give vim some time to load the scripts
|
||||||
|
|
||||||
def teardown(self):
|
def teardown(self):
|
||||||
self.client.quit()
|
self.client.quit()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue