1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
From 9d1c349691f60ec3625400530c8134def6cd3993 Mon Sep 17 00:00:00 2001
From: Nicholas Guriev <nicholas@guriev.su>
Date: Wed, 13 Jul 2022 17:44:44 +0300
Subject: Run automated tests against installed UtliSnips
---
test/vim_test_case.py | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/test/vim_test_case.py b/test/vim_test_case.py
index d6d309a..b0a8b2d 100644
--- a/test/vim_test_case.py
+++ b/test/vim_test_case.py
@@ -102,10 +102,8 @@ class VimTestCase(unittest.TestCase, TempFileManager):
vim_config = []
vim_config.append("set nocompatible")
- vim_config.append(
- "set runtimepath=$VIMRUNTIME,%s,%s"
- % (os.path.dirname(os.path.dirname(__file__)), self._temp_dir)
- )
+ vim_config.append("set runtimepath=$VIMRUNTIME,%s" % self._temp_dir)
+ vim_config.append("packadd! ultisnips")
if self.plugins:
self._link_file(
|