[openstack-dev] keystone: running a single test

Dolph Mathews dolph.mathews at gmail.com
Wed Mar 6 14:25:45 UTC 2013


"tests" is now a package, so:

  ./run_tests.sh tests.test_v3_auth:TestAuthXML.test_auth_with_id


-Dolph


On Tue, Mar 5, 2013 at 8:14 PM, Henry Nash <henryn at linux.vnet.ibm.com>wrote:

> ...hmm, I think something's got busted...I just merged up to master and
> now I am having the same problem that running the test files individually
> is problematic....investigating...
>
> Henry
>
> On 6 Mar 2013, at 01:18, Bhandaru, Malini K wrote:
>
> Thanks Adam and Henry.****
> ** **
> Failure:  “ImportError (No module name test_v3)****
> ** **
> And actually it also touches on yet another model test_content_types.py***
> *
> ** **
> ** **
> ** **
> ** **
> *From:* Adam Young [mailto:ayoung at redhat.com]
> *Sent:* Tuesday, March 05, 2013 4:59 PM
> *To:* openstack-dev at lists.openstack.org
> *Subject:* Re: [openstack-dev] keystone: running a single test****
> ** **
> On 03/05/2013 06:56 PM, Bhandaru, Malini K wrote:****
>
> Hello Keystone Developers!****
>  ****
> How might I run  a single test .. for focused debugging of a failure.
> Happy if I could just even run only the tests in test_v3_auth.py.****
>  ****
> Example test_v3_auth.py test_auth_with_id (tests.test_v3_auth.TestAuthXML)
> ****
>  ****
>  ****
> Thanks****
> Malini****
>
>
>
> ****
>
> _______________________________________________****
>
> OpenStack-dev mailing list****
>
> OpenStack-dev at lists.openstack.org****
>
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev****
>
> The general pattern is package.subpackage:Class.function so
>
>
> ./run_test.sh test_v3_auth:TestAuthXML.test_auth_with_id
>
>
> (there is no package name  test)****
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130306/5cd9fa7c/attachment.html>


More information about the OpenStack-dev mailing list