tox and solution for neutron tox error

来源:互联网 发布:下载免费打电话软件 编辑:程序博客网 时间:2024/06/14 07:52

https://answers.launchpad.net/neutron/+question/231432


try to remove your current oslo module in system and then install: http://tarballs.openstack.org/oslo.config/oslo.config-1.2.0a2.tar.gz#egg=oslo.config-1.2.0a2.

For example:
cd .tox/py27/lib/python2.7/dist-packages/
rm -rf oslo
pip install http://tarballs.openstack.org/oslo.config/oslo.config-1.2.0a2.tar.gz#egg=oslo.config-1.2.0a2

# and then remove your .tox    # I didn't do it
and then do tox -e py27


TOX  Usage


返回很快的小case检查tox是否正常

$  tox -v -epy27 neutron.tests.unit.test_api_v2:JSONV2TestCase


$ tox -v  neutron.tests.unit.bigswitch.test_restproxy_plugin


$ tox -v  -epy27 neutron.tests.unit.bigswitch.test_restproxy_plugin:<Class name in this file>





0 0
原创粉丝点击