Acceptance test x86_cpu_model_versions: split into smaller tests
commit7219c2e842019222792d4070808108e78142da7f
authorCleber Rosa <crosa@redhat.com>
Wed, 28 Aug 2019 19:36:28 +0000 (28 15:36 -0400)
committerCleber Rosa <crosa@redhat.com>
Fri, 20 Sep 2019 21:03:52 +0000 (20 17:03 -0400)
tree9ee8a4dad0194a062019c2c67b0b12a4f1c5e410
parentd0b63087ce97da2f9b69e9c07daefc57fd99e83e
Acceptance test x86_cpu_model_versions: split into smaller tests

The justifications being automatic destruction of the vm instances
when no longer needed and more compact test naming under a common
class.

Besides those, a smaller test makes the one and only assertion rather
obvious, which suggests that we could even get rid of the more verbose
(and manual) error messages (to be decided).

Naming of the tests tries to follow the following pattern:

 test_($cpu_version)_($no_arch_capabitilies_set_or_unset)_($machine_version)

The presence of each naming component is optional, depending on
whether the test manually sets it or not.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
Message-Id: <20190828193628.7687-4-crosa@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
tests/acceptance/x86_cpu_model_versions.py