Move sphinx to test-reuqirements.

Change-Id: I15ffeec34cdf9be24ffade5701b8e723aaaa171c
This commit is contained in:
Monty Taylor 2013-03-11 19:50:32 -04:00
parent cd452b68e5
commit 601bac9395
4 changed files with 10 additions and 6 deletions

1
.gitignore vendored
View File

@ -21,6 +21,7 @@ develop-eggs
.installed.cfg .installed.cfg
# Other # Other
.testrepository
.tox .tox
.*.swp .*.swp
.coverage .coverage

4
.testr.conf Normal file
View File

@ -0,0 +1,4 @@
[DEFAULT]
test_command=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_TEST_TIMEOUT=60 ${PYTHON:-python} -m subunit.run discover -t ./ . $LISTOPT $IDOPTION
test_id_option=--load-list $IDFILE
test_list_option=--list

View File

@ -1,5 +1,5 @@
[tox] [tox]
envlist = py26,py27,pep8 envlist = py26,py27,pep8,pyflakes
[testenv] [testenv]
setenv = VIRTUAL_ENV={envdir} setenv = VIRTUAL_ENV={envdir}
@ -17,7 +17,7 @@ downloadcache = ~/cache/pip
[testenv:pep8] [testenv:pep8]
commands = commands =
pep8 --repeat --show-source --exclude=.venv,.tox,dist,doc . pep8 --repeat --show-source --exclude=.venv,.tox,dist,doc,*.egg .
[testenv:pyflakes] [testenv:pyflakes]
deps = pyflakes deps = pyflakes
@ -26,8 +26,7 @@ commands = pyflakes oslo
[testenv:cover] [testenv:cover]
setenv = VIRTUAL_ENV={envdir} setenv = VIRTUAL_ENV={envdir}
commands = commands =
python setup.py testr --coverage \ python setup.py testr --coverage
--testr-args='^(?!.*test.*coverage).*$'
[testenv:venv] [testenv:venv]
commands = {posargs} commands = {posargs}