Use tox to run unit test

Prev we use:
source /path/to/somewhere/.venv/bin/activate
cd $WORKSPACE/code/daisy/daisy/tests
python -m unittest discover

With this patch, we can now use tox -epy27 to run our unit test.

Change-Id: I71c30cf319ad15d778165bd6f787a1d48df838ac
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
This commit is contained in:
Zhijiang Hu
2016-11-26 04:18:44 -05:00
parent fefb4889c8
commit bd6ae775f2
15 changed files with 37 additions and 1104 deletions

View File

@@ -5,46 +5,41 @@
pbr>=1.6 # Apache-2.0
# < 0.8.0/0.8 does not work, see https://bugs.launchpad.net/bugs/1153983
SQLAlchemy>=0.9.7,<=0.9.99
SQLAlchemy<1.1.0,>=1.0.10 # MIT
anyjson>=0.3.3
eventlet>=0.16.1,!=0.17.0
PasteDeploy>=1.5.0
Routes>=1.12.3,!=2.0
Routes!=2.0,!=2.1,!=2.3.0,>=1.12.3;python_version=='2.7' # MIT
Routes!=2.0,!=2.3.0,>=1.12.3;python_version!='2.7' # MIT
WebOb>=1.2.3
sqlalchemy-migrate>=0.9.5
httplib2>=0.7.5
kombu>=2.5.0
pycrypto>=2.6
iso8601>=0.1.9
ordereddict
oslo_config>=1.9.3,<1.10.0 # Apache-2.0
oslo_concurrency>=1.8.0,<1.9.0 # Apache-2.0
oslo_context>=0.2.0,<0.3.0 # Apache-2.0
oslo_utils>=1.4.0,<1.5.0 # Apache-2.0
stevedore>=1.3.0,<1.4.0 # Apache-2.0
taskflow>=0.7.1,<0.8.0
keystonemiddleware>=1.5.0,<1.6.0
WSME>=0.6
pycrypto>=2.6 # Public Domain
oslo.config>=3.7.0 # Apache-2.0
oslo.concurrency>=3.7.1 # Apache-2.0
oslo.context>=0.2.0 # Apache-2.0
oslo.service>=1.0.0 # Apache-2.0
oslo.utils>=3.5.0 # Apache-2.0
stevedore>=1.5.0 # Apache-2.0
taskflow>=1.26.0 # Apache-2.0
keystoneauth1>=2.1.0 # Apache-2.0
keystonemiddleware!=4.1.0,>=4.0.0 # Apache-2.0
WSME>=0.8 # MIT
# For paste.util.template used in keystone.common.template
Paste
jsonschema>=2.0.0,<3.0.0
python-keystoneclient>=1.1.0,<1.4.0
python-keystoneclient!=1.8.0,!=2.1.0,<3.0.0,>=1.6.0 # Apache-2.0
pyOpenSSL>=0.11
# Required by openstack.common libraries
six>=1.9.0
oslo_db>=1.7.0,<1.8.0 # Apache-2.0
oslo_i18n>=1.5.0,<1.6.0 # Apache-2.0
oslo_log>=1.0.0,<1.1.0 # Apache-2.0
oslo_messaging>=1.8.0,<1.9.0 # Apache-2.0
oslo_policy>=0.3.1,<0.4.0 # Apache-2.0
oslo_serialization>=1.4.0,<1.5.0 # Apache-2.0
oslo.service>=0.1.0 # Apache-2.0
oslo.db>=4.1.0 # Apache-2.0
oslo.i18n>=2.1.0 # Apache-2.0
oslo.log>=1.14.0 # Apache-2.0
oslo.messaging>=4.0.0 # Apache-2.0
oslo.middleware>=3.0.0 # Apache-2.0
oslo.policy>=0.5.0 # Apache-2.0
oslo.serialization>=1.10.0 # Apache-2.0
retrying>=1.2.3,!=1.3.0 # Apache-2.0
osprofiler>=0.3.0 # Apache-2.0
# Artifact repository
semantic_version>=2.3.1
retrying!=1.3.0,>=1.2.3 # Apache-2.0
osprofiler>=1.1.0 # Apache-2.0