Re: [openstack-dev] run_tests in debug mode fails

2013-09-12 Thread Rosa, Andrea (HP Cloud Services)
Hi Clark, From: Clark Boylan [mailto:clark.boy...@gmail.com] Sent: 11 September 2013 04:44 To: OpenStack Development Mailing List Subject: Re: [openstack-dev] run_tests in debug mode fails I did manage to confirm that the attached patch mostly fixes the problem. with your patch I am able

Re: [openstack-dev] run_tests in debug mode fails

2013-09-11 Thread Davanum Srinivas
Clark, This is good. every file that uses a CONF.xyz needs to have an import for xyz. This is often overlooked -- dims On Tue, Sep 10, 2013 at 11:43 PM, Clark Boylan clark.boy...@gmail.comwrote: On Mon, Sep 9, 2013 at 4:20 AM, Rosa, Andrea (HP Cloud Services) andrea.r...@hp.com wrote: Hi

Re: [openstack-dev] run_tests in debug mode fails

2013-09-10 Thread Jian Wen
Hello, I can confirm this is a bug. I use nosetests instead for the moment. nosetests -s test.module nosetests -s another.test:TestCase.test_method nosetests -s a.test:TestCase nosetests -s /path/to/test/file.py:test_function On Mon, Sep 9, 2013 at 7:20 PM, Rosa, Andrea (HP Cloud Services)

Re: [openstack-dev] run_tests in debug mode fails

2013-09-10 Thread Clark Boylan
On Mon, Sep 9, 2013 at 4:20 AM, Rosa, Andrea (HP Cloud Services) andrea.r...@hp.com wrote: Hi all I need to debug a specific test but when I try to run it in debug mode using the run_tests -d (I need to attach pdb) that command fails but if I run the script without the -d option that works.

[openstack-dev] run_tests in debug mode fails

2013-09-09 Thread Rosa, Andrea (HP Cloud Services)
Hi all I need to debug a specific test but when I try to run it in debug mode using the run_tests -d (I need to attach pdb) that command fails but if I run the script without the -d option that works. I created a brand-new env so I don't think it's related to my local env. Anyone is