Sorry, forgot to add the code: *This is my method (this worked with devstack):* def get_diagnostics(self, instance): dom = self._lookup_by_name(instance['name']) return diagnostics.get_diagnostics(dom)
*and this the test method*: def test_get_diagnostics(self): instance_ref, network_info = self._get_running_instance() self.connection.get_diagnostics(instance_ref['name']) On Mon, Jun 25, 2012 at 3:41 PM, Leander Bessa Beernaert < leande...@gmail.com> wrote: > Hello, > > I'm working on the diagnostics method for libvirt. I've > successfully managed to test it while running it manually and with > devstack. However, the test case in test_virt_drivers.py fails since it > supplies a different data type to the method. > > Could it be possible that there's a certain mismatch between the two or > that this particular method accepts multiple sorts of data-types? > > Regards, > Leander >
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp