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
# Other
.testrepository
.tox
.*.swp
.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

@ -17,5 +17,5 @@
import setuptools
setuptools.setup(
setup_requires = ['d2to1'],
d2to1 = True)
setup_requires=['d2to1'],
d2to1=True)

View File

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