mirror of
https://github.com/tbabej/taskwiki.git
synced 2025-08-18 21:33:07 +02:00
tests: Do not load vimwiki/taskwiki twice
Since c8c3cc9a00
, vimwiki filetype is set
automatically by :edit, and `set filetype=vimwiki` loads everything
again.
One consequence of loading taskwiki twice is that
taskwiki/testcoverage.py is sourced twice, the Coverage object is
initialized, started, stopped and saved twice (with the same data
filename!) and the coverage report is inaccurate as two trackers write
into the same file.
This commit is contained in:
parent
1b439fee9e
commit
7d5b902c89
1 changed files with 0 additions and 1 deletions
|
@ -88,7 +88,6 @@ class IntegrationTest(object):
|
|||
self.add_plugin('vimwiki', 'plugin/vimwiki.vim')
|
||||
self.filepath = os.path.join(self.dir, 'testwiki.txt')
|
||||
self.client.edit(self.filepath)
|
||||
self.command('set filetype=vimwiki')
|
||||
|
||||
def teardown(self):
|
||||
if not self.client:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue