Comment 1 for bug 849329

Revision history for this message
Soren Hansen (soren) wrote : Re: [Bug 849329] [NEW] test_libvirt shouldn't mock import_class/import_object

> The failures seem to stem from the fact that we are mocking out
> import_class and import_object. Using flags and fakes seems like a saner
> way to implement things in test_libvirt...

I have a branch awaiting review that does exactly this
(~soren/nova/virt-test-improvements). It has a fakelibvirt
implementation that has an API identical to libvirt's, but doesn't
actually do anything apart from bookkeeping.