I spoke to Lukas and Cleber personally today so it is clear now. The thing
is that I have to put off preprocess_vm function by setting start_vm = no.
and put it into try..except block.

Radek

On Wed, Jan 25, 2017 at 1:37 PM, Lucas Meneghel Rodrigues <look...@gmail.com
> wrote:

> Isn't catching the exception and checking if its fields look like what you
> expect an option? That is the sort of thing that in my mind wouldn't need
> additional support.
>
> On Tue, Jan 24, 2017 at 4:33 PM Radek Duda <rd...@redhat.com> wrote:
>
>> Hi,
>>
>> I wonder if there is any possiblity to perform negative testcases in
>> avocado / avocado-vt?
>>
>> To be more specific:
>> If I supply some nonsence to SPICE listening port as qemu-kvm parameter,
>> the creation of VM should fail. Indeed it fails - throws VMCreateError, but
>> that is all.
>>
>> Is there any way how to mark this TC as passed?
>>
>> Thanks for reply.
>>
>>
>> Regards,
>> Radek Duda
>>
>

Reply via email to