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.  This is why I suggest that you should always call
run_tests.sh from the top-level of the repository, not from the nova
subdirectory…
-- 
Kevin L. Mitchell <kevin.mitch...@rackspace.com>


_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to