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', 'YAML_TEST_DIR',
join( join(
dirname(__file__), dirname(__file__),
pardir, pardir, pardir, pardir,
'elasticsearch-rest-api-spec', 'test' 'rest-api-spec', 'test'
) )
) )
+4 -1
View File
@@ -1,6 +1,9 @@
[tox] [tox]
envlist = pypy,py26,py27,py33 envlist = pypy,py26,py27,py33
[testenv] [testenv]
whitelist_externals = git
setenv = setenv =
NOSE_XUNIT_FILE = junit-{envname}.xml NOSE_XUNIT_FILE = junit-{envname}.xml
commands = python setup.py test commands =
git submodule init
python setup.py test