> 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.
> 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 nova/virt- test-improvemen ts). It has a fakelibvirt
(~soren/
implementation that has an API identical to libvirt's, but doesn't
actually do anything apart from bookkeeping.