mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-07 03:04:30 +08:00
tests: move .cache to build, rename test/_utils.vim
This commit is contained in:
committed by
Dave Halter
parent
1c3078e9f9
commit
7894b38c0c
@@ -6,7 +6,7 @@ import zipfile
|
||||
import pytest
|
||||
|
||||
VSPEC_URL = 'https://github.com/kana/vim-vspec/archive/1.4.1.zip'
|
||||
CACHE_FOLDER = '.cache'
|
||||
CACHE_FOLDER = 'build'
|
||||
VSPEC_FOLDER = os.path.join(CACHE_FOLDER, 'vim-vspec-1.4.1')
|
||||
VSPEC_RUNNER = os.path.join(VSPEC_FOLDER, 'bin/vspec')
|
||||
TEST_DIR = 'test'
|
||||
@@ -68,7 +68,7 @@ def pytest_generate_tests(metafunc):
|
||||
"""
|
||||
def collect_tests():
|
||||
for f in os.listdir(TEST_DIR):
|
||||
if f.endswith('.vim') and f != 'utils.vim':
|
||||
if f.endswith('.vim') and f != '_utils.vim':
|
||||
yield IntegrationTestFile(os.path.join(TEST_DIR, f))
|
||||
|
||||
tests = list(collect_tests())
|
||||
|
||||
Reference in New Issue
Block a user