[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 3/3] qmp: Add deprecation information to query-m
From: |
Eduardo Habkost |
Subject: |
Re: [Qemu-devel] [PATCH 3/3] qmp: Add deprecation information to query-machines |
Date: |
Thu, 25 Apr 2019 14:43:50 -0300 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Thu, Apr 25, 2019 at 11:54:34AM -0300, Wainer dos Santos Moschetta wrote:
> Hi Eduardo,
>
> On 04/23/2019 06:22 PM, Eduardo Habkost wrote:
[...]
> > +class QueryMachines(Test):
> > + def test(self):
>
> I suggest to use a meaning test case name as it will be displayed with
> Avocado output. Something like 'test_status_information'.
This is a generic test case for query-machines, and I don't
expect it to be specific for validating support-status.
>
> > + self.vm.launch()
> > + machines = self.vm.command('query-machines')
>
> Also I suggest to assert you got at least on machine, so ensure
> 'query-machines' returning nothing doesn't pass unnoticed.
Good idea. I will send this in v2 or as a follow up patch.
Thanks!
--
Eduardo
- [Qemu-devel] [PATCH 1/3] qapi: SupportStatusInfo struct, (continued)
- [Qemu-devel] [PATCH 1/3] qapi: SupportStatusInfo struct, Eduardo Habkost, 2019/04/23
- [Qemu-devel] [PATCH 3/3] qmp: Add deprecation information to query-machines, Eduardo Habkost, 2019/04/23
- [Qemu-devel] [PATCH 2/3] machine: Use SupportStatusInfo for deprecation info, Eduardo Habkost, 2019/04/23
- Re: [Qemu-devel] [PATCH 0/3] Export machine type deprecation info through QMP, no-reply, 2019/04/23
- Re: [Qemu-devel] [PATCH 0/3] Export machine type deprecation info through QMP, Thomas Huth, 2019/04/24