I'v tried doing those modifications directly on the master branch, just to
see if the tests would run. Sadly, i get the same output.
Am i supposed to change something when adding new files before running the
tests?
On Tue, Jun 26, 2012 at 9:36 AM, Leander Bessa Beernaert
leande...@gmail.com
On Tue, 2012-06-26 at 09:36 +0100, Leander Bessa Beernaert wrote:
Any ideas?
My gut instinct is that you have a syntax error as well, somewhere in
diagnostics.py. Try running the python interpreter and manually trying
that import; if it fails, you should have an error message that will
help
I've successfully imported the diagnostics.py in the interpreter, so that
can't be the problem.
On Tue, Jun 26, 2012 at 3:40 PM, Kevin L. Mitchell
kevin.mitch...@rackspace.com wrote:
On Tue, 2012-06-26 at 09:36 +0100, Leander Bessa Beernaert wrote:
Any ideas?
My gut instinct is that you
On Tue, 2012-06-26 at 15:50 +0100, Leander Bessa Beernaert wrote:
I've successfully imported the diagnostics.py in the interpreter, so
that can't be the problem.
Then try importing the other file you modified. If that still doesn't
help you find the problem, then I'm all out of ideas…
--
You sir are my hero!
File stdin, line 1, in module
File connection.py, line 73, in module
from nova.virt.libvirt import diagnostics
ImportError: cannot import name diagnostics
The file, is right there in the same directory. I have double checked the
names but it still keeps failing
On Tue, 2012-06-26 at 16:05 +0100, Leander Bessa Beernaert wrote:
The file, is right there in the same directory. I have double checked
the names but it still keeps failing :s
The first thing I'd try is clearing out all your *.pyc files.
(run_tests.sh should do this for you, so I don't expect
It works from the top level, but fails if i try to import it directly from
the same dir (nova/virt/libvirt). The other files there import just fine :/
On Tue, Jun 26, 2012 at 4:17 PM, Kevin L. Mitchell
kevin.mitch...@rackspace.com wrote:
On Tue, 2012-06-26 at 16:05 +0100, Leander Bessa
On Tue, 2012-06-26 at 16:21 +0100, Leander Bessa Beernaert wrote:
It works from the top level, but fails if i try to import it directly
from the same dir (nova/virt/libvirt). The other files there import
just fine :/
Relative imports are iffy at best; imports should ideally always be
absolute.
I'm not calling run_tests.sh from the nova subdirectory. I'm saying that
from the location where nova_tests.sh is located, i can import
connection.py.
However, when i try to import connection.py from with cd=nova/virt/libvirt,
it fails. The funny thing is i can import all the modules int that
On Tue, 2012-06-26 at 16:33 +0100, Leander Bessa Beernaert wrote:
I'm not calling run_tests.sh from the nova subdirectory. I'm saying
that from the location where nova_tests.sh is located, i can import
connection.py.
However, when i try to import connection.py from with
cd=nova/virt/libvirt,
I've managed to fix it by removing the import libvirt from
diagnostics.py. I've got the answer to this through sdague in the
openstack-dev irc channel. I'ts now running :)
On Tue, Jun 26, 2012 at 4:44 PM, Kevin L. Mitchell
kevin.mitch...@rackspace.com wrote:
On Tue, 2012-06-26 at 16:33 +0100,
Leander,
Did you give -V -f option? If you post your log, it would be easier to help.
Thanks,
Joseph
(w) 703-248-6160
(c) 571-340-2434
(f) 703-812-3712
3811 N. Fairfax Drive Suite 200
Arlington, VA, 22203, USA
http://www.east.isi.edu/~jsuh
- Original Message -
From: Leander Bessa
I've tried all the options and the output is always, even with -V and -f:
--
Ran 0 tests in 0.000s
OK
Running PEP8 and HACKING compliance check...
5 imports missing in this test environment
The tests run just fine on the
-
From: Leander Bessa Beernaert leande...@gmail.com
To: Joseph Suh j...@isi.edu
Cc: openstack@lists.launchpad.net
Sent: Monday, June 25, 2012 9:45:51 AM
Subject: Re: [Openstack] [OpenStack][Nova] No tests available in custom branch
I've tried all the options and the output is always, even with -V
To: Joseph Suh j...@isi.edu
Cc: openstack@lists.launchpad.net
Sent: Monday, June 25, 2012 9:45:51 AM
Subject: Re: [Openstack] [OpenStack][Nova] No tests available in custom
branch
I've tried all the options and the output is always, even with -V and -f
- Original Message -
From: Leander Bessa Beernaert leande...@gmail.com
To: Joseph Suh j...@isi.edu
Cc: openstack@lists.launchpad.net
Sent: Monday, June 25, 2012 9:45:51 AM
Subject: Re: [Openstack] [OpenStack][Nova] No tests available in custom
branch
I've tried all the options
On Mon, 2012-06-25 at 16:56 +0100, Leander Bessa Beernaert wrote:
Here's the diff http://paste.openstack.org/show/18756/
Change import diagnostics to from nova.virt.libvirt import
diagnostics. (Also note that you may need to add a space between your
name and your email address in Authors, and
17 matches
Mail list logo