tox and solution for neutron tox error

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>





發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章