]> xenbits.xensource.com Git - qemu-xen.git/commit
avocado_qemu: Fix KNOWN_DISTROS map into the LinuxDistro class
authorWillian Rampazzo <willianr@redhat.com>
Tue, 6 Jul 2021 13:17:26 +0000 (15:17 +0200)
committerCleber Rosa <crosa@redhat.com>
Tue, 13 Jul 2021 17:18:50 +0000 (13:18 -0400)
commitfb130401736d294843764bfbab37a9e9e020ef08
tree05684efb1f083594c5d5cac9cd5a2a6c13036116
parent9f5193413026ed65f9651108b6656054b40e43a0
avocado_qemu: Fix KNOWN_DISTROS map into the LinuxDistro class

As the KNOWN_DISTROS grows, more loosely methods will be created in
the avocado_qemu/__init__.py file.

Let's refactor the code so that KNOWN_DISTROS and related methods are
packaged in a class

Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Message-Id: <20210706131729.30749-2-eric.auger@redhat.com>
[CR: moved aarch64 definition from patch 2 to 1]
[CR: protect get() when arch is not defined]
[CR: split long lines]
Acked-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Signed-off-by: Cleber Rosa <crosa@redhat.com>
tests/acceptance/avocado_qemu/__init__.py