← Back to team overview

openstack team mailing list archive

Re: [OpenStack][Nova] Possible inconsistency between devstack/nova execution and test_virt_drivers.py

 

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 <
leanderbb@xxxxxxxxx> 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
>

Follow ups

References