Hi All,
I am trying to test *python-novaclient* using
/*pythonsetup.pytes**t*/asreported in
http://docs.openstack.org/developer/python-novaclient/
.
In order to figure out the test logic I ran tests but an error is occurred:
Exception:
Traceback (most recent call last):
File "/usr/
@lists.openstack.org
Subject: [openstack-dev] [Python-novaclient] Python-novaclient tests fail
Hi All,
I am trying to test python-novaclient using python setup.py test as reported in
http://docs.openstack.org/developer/python-novaclient/.
In order to figure out the test logic I ran tests but an error is
Simple way to run tests is using tox:
$ tox -epy27
For more details, look at nova guide:
http://docs.openstack.org/developer/nova/devref/unit_tests.html
PS: Why novaclient guide recommends to use "python setup.py test"? A bit
strange for me.
On Mon, Oct 13, 2014 at 1:19 PM, Daniele Casini <
.au]
*Sent:* Monday, October 13, 2014 3:50 PM
*To:* openstack-dev@lists.openstack.org
*Subject:* [openstack-dev] [Python-novaclient] Python-novaclient tests
fail
Hi All,
I am trying to test *python-novaclient* using
*/python/**//**/setup.py/**//**/test/*asreported in
http://docs.openstack.org/develo
I have already use "tox" instead of "python setup.py test" and the test
is successfully passed.
However, I do not understand because it does not pass using the way
reported in the official document.
Thus, two questions occour to me:
Can I use tox in order to test python-novaclient? Should th
>Can I use tox in order to test python-novaclient?
`tox` is used in novaclient gates, so you SHOULD use tox instead of "python
setup.py test" :) To make sure in my words, you can see
gate-python-novaclient-python27/console.html (for example:
http://logs.openstack.org/50/123850/4/check/gate-python-
, 2014 3:50 PM
> To: openstack-dev@lists.openstack.org
> Subject: [openstack-dev] [Python-novaclient] Python-novaclient tests fail
>
> Hi All,
>
> I am trying to test python-novaclient using python setup.py test as reported
> in
> http://docs.openstack.org/developer/python-novaclient/.
tall
>> novaclient under a virtualenv and run the same “python setup.py test”
>> without sudo.
>>
>> -Vishnu
>>
>> *From:*Daniele Casini [mailto:daniele.cas...@dektech.com.au]
>> *Sent:* Monday, October 13, 2014 3:50 PM
>> *To:* openstack-dev@lists.openst
gt;>
> >> Just a permission issue. Use a “sudo”. You could alternatively install
> >> novaclient under a virtualenv and run the same “python setup.py test”
> >> without sudo.
> >>
> >> -Vishnu
> >>
> >> *From:*Daniele Casini [mailto:danie