mirror of
https://github.com/tbabej/taskwiki.git
synced 2025-08-19 15:53:07 +02:00
tests: Kill all gvim sessions as part of the teardown
This commit is contained in:
parent
8008a05fe5
commit
2bf122ca32
1 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
|
import subprocess
|
||||||
import tempfile
|
import tempfile
|
||||||
import vimrunner
|
import vimrunner
|
||||||
|
|
||||||
|
@ -52,6 +53,7 @@ class IntegrationTest(object):
|
||||||
|
|
||||||
def teardown(self):
|
def teardown(self):
|
||||||
self.client.quit()
|
self.client.quit()
|
||||||
|
subprocess.call(['killall', 'gvim'])
|
||||||
|
|
||||||
def command(self, command, silent=True, regex=None, lines=None):
|
def command(self, command, silent=True, regex=None, lines=None):
|
||||||
result = self.client.command(command)
|
result = self.client.command(command)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue