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

ZhiQiang Fan aji.zqfan at gmail.com
Sun Sep 1 18:14:05 UTC 2013


why -- is important? without it still can work (maybe not work perfectly?
or will miss something important?) on ubuntu12.04 py2.7.5


On Mon, Sep 2, 2013 at 1:59 AM, Akihiro Motoki <amotoki at gmail.com> wrote:

> 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>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>



-- 
blog: zqfan.github.com
git: github.com/zqfan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130902/160e8216/attachment.html>


More information about the OpenStack-dev mailing list