tests/acceptance: Refactor and improve reporting in linux_ssh_mips_malta.py
commit07d647b26195819a8e237badb38fcb4feed90646
authorAleksandar Markovic <amarkovic@wavecomp.com>
Fri, 2 Aug 2019 15:35:57 +0000 (2 17:35 +0200)
committerCleber Rosa <crosa@redhat.com>
Fri, 20 Sep 2019 21:04:03 +0000 (20 17:04 -0400)
treef2de530e9cef2f618ced7ecdb54958d06a6ddd93
parent7219c2e842019222792d4070808108e78142da7f
tests/acceptance: Refactor and improve reporting in linux_ssh_mips_malta.py

This patch restructures code organization around the test case
executions. At the same time, rather than outputing a cryptic message:

FAIL: True not found in [False],

the following will be reported too, if the command output does not meet
specified expectations:

'lspci -d 11ab:4620' output doesn't contain the word 'GT-64120'

Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Message-Id: <1564760158-27536-2-git-send-email-aleksandar.markovic@rt-rk.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
tests/acceptance/linux_ssh_mips_malta.py