tests: Kill all gvim sessions as part of the teardown

This commit is contained in:
Tomas Babej 2015-03-27 18:22:28 +01:00
parent 8008a05fe5
commit 2bf122ca32

View file

@ -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)