Switch to using git submodules for the yaml tests

This commit is contained in:
Honza Kral
2013-09-23 17:12:14 +02:00
parent ff9623e264
commit 56c77f0bd0
4 changed files with 10 additions and 3 deletions
+3
View File
@@ -0,0 +1,3 @@
[submodule "test_elasticsearch/rest-api-spec"]
path = test_elasticsearch/rest-api-spec
url = https://github.com/elasticsearch/elasticsearch-rest-api-spec.git
@@ -188,8 +188,8 @@ YAML_DIR = environ.get(
'YAML_TEST_DIR',
join(
dirname(__file__),
pardir, pardir, pardir,
'elasticsearch-rest-api-spec', 'test'
pardir,
'rest-api-spec', 'test'
)
)
+4 -1
View File
@@ -1,6 +1,9 @@
[tox]
envlist = pypy,py26,py27,py33
[testenv]
whitelist_externals = git
setenv =
NOSE_XUNIT_FILE = junit-{envname}.xml
commands = python setup.py test
commands =
git submodule init
python setup.py test