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

2013-09-01 Thread Luke Gorrie
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 l...@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@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


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

2013-09-01 Thread Akihiro Motoki
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 l...@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 l...@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@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




-- 
Akihiro MOTOKI amot...@gmail.com

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


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

2013-09-01 Thread ZhiQiang Fan
tox neutron.tests.unit.ml2


On Mon, Sep 2, 2013 at 1:51 AM, Luke Gorrie l...@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 l...@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@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




-- 
blog: zqfan.github.com
git: github.com/zqfan
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev