[openstack-dev] [Neutron] Running unit tests (was: REST-based ML2 MechanismDriver)

Akihiro Motoki amotoki at gmail.com
Sun Sep 1 17:59:21 UTC 2013


Please try:

   tox -e py27 -- neutron.tests.unit.test_l3_plugin

"--" is important when using tox.

run_tests.sh with a subset does not work for me too. I am not sure why.
I didn't notice it since I usually use tox.


On Mon, Sep 2, 2013 at 2:51 AM, Luke Gorrie <luke at tail-f.com> wrote:
> Hi guys,
>
> Can someone tell me the best way currently to run a subset of Neutron unit
> tests (e.g. ml2 ones)?
>
> The command I got the last time I asked has recently stopped working:
>
> On 6 June 2013 17:16, Luke Gorrie <luke at snabb.co> wrote:
>>
>> The .venv/bin/python run_tests.py ... trick works for me after . I am in
>> business!
>
>
> I can run the full test suite with "tox" but haven't figured out how to run
> only a subset of test cases. Hints would be really welcome!
>
> Cheers,
> -Luke
>
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>



-- 
Akihiro MOTOKI <amotoki at gmail.com>



More information about the OpenStack-dev mailing list