summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorJames E. Blair <jeblair@hp.com>2012-04-28 22:21:53 +0000
committerJames E. Blair <jeblair@hp.com>2012-04-28 22:27:34 +0000
commit95c2f27fa46d44f9eacfc44954b74ce9cc4becd3 (patch)
tree83cc17eeffcffbd9c514758cafc8746344f8e6e6 /.gitignore
parent9c945bee7995f1853d7c8c2f55087ce4c00fa42d (diff)
downloadpython-openstackclient-95c2f27fa46d44f9eacfc44954b74ce9cc4becd3.tar.gz
Add openstack-common and test infrastructure.
Fix pep8 errors (project is pep8 clean now). Update setup.py to use openstack-common style dependencies. Remove the unused novaclient dependency. Change the keystoneclient dependency to a git URL. Add test-requires, and move some pip-requires dependencies into it. Remove the test_utils unit test which wasn't testing anything that is actually present in the project. Add the test_authors unit test. Use tox for running tests locally. See: http://wiki.openstack.org/ProjectTestingInterface Tox can manage virtualenvs, and is currently doing so for running tests in Jenkins. It's just as, or more, useful for running tests locally, so this starts the migration from the run_tests system to tox. The goal is to reduce duplicate testing infrastructure, and get what's running locally on developer workstations as close to what is run by Jenkins as possible. Run_tests.sh will now call tox to facilitate the transition for developers used to typing "run_tests.sh". Developers will need tox installed on their workstations. It can be installed from PyPI with "pip install tox". run_tests.sh outputs those instructions if tox is not present. New facilities are available using tox directly, including: tox -e py26 # run tests under python 2.6 tox -e py27 # run tests under python 2.7 tox -e pep8 # run pep8 tests tox # run all of the above tox -e venv foo # run the command "foo" inside a virtualenv The OpenStack nose plugin is used when running tox from the command line, so the enhanced, colorized output is visible to developers running the test suite locally. However, when Jenkins runs tox, xunit output will be used instead, which is natively understood by jenkins and much more readable in that context. Change-Id: Ib627be3b37b5a09d3795006d412ddcc35f8c6c1e
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore2
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index eeccc0fb..2c05c8e2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,5 @@
build
dist
python_openstackclient.egg-info
+.tox/
+ChangeLog