Permalink
Browse files

Fix #329 tests

  • Loading branch information...
1 parent a31f094 commit cb7cef8c26a524bf1448221a624276037f09ae71 @Shougo committed Aug 15, 2016
Showing with 5 additions and 14 deletions.
  1. +1 −0 .gitignore
  2. +3 −7 Makefile
  3. +1 −1 rplugin/python3/deoplete/tests/test_util.py
  4. +0 −6 run_tests.sh
View
@@ -1,2 +1,3 @@
*.py[cod]
doc/tags
+vim-themis
View
@@ -1,14 +1,10 @@
test: vim-themis
vim-themis/bin/themis --reporter spec test
- ./run_tests.sh
+ nosetests -v rplugin/python3
+ flake8 rplugin/
# Use existing vim-themis install from ~/.vim, or clone it.
vim-themis:
- existing=$(firstword $(wildcard ~/.vim/*bundle*/*themis*/plugin/themis.vim)); \
- if [ -n "$$existing" ]; then \
- ( cd test && ln -s $$(dirname $$(dirname $$existing)) vim-themis ); \
- else \
- git clone https://github.com/thinca/vim-themis vim-themis; \
- fi
+ git clone https://github.com/thinca/vim-themis vim-themis; \
.PHONY: test
@@ -20,4 +20,4 @@ def test_custom(self):
eq_(get_custom(custom, 'foo', 'converters', 'foobar'), 'foobar')
def test_globruntime(self):
- eq_(globruntime('/usr', 'lib'), ['/usr/lib'])
+ eq_(globruntime('/usr', 'bin'), ['/usr/bin'])
View
@@ -1,6 +0,0 @@
-#!/bin/bash
-
-set -e
-
-nosetests -v rplugin/python3
-flake8 rplugin/

0 comments on commit cb7cef8

Please sign in to comment.