tests: tweak mageia detection
- create a versioned directory for the current VERSION file, fixing the typo in the distro name - move the test to an own function Reviewed-by: Cole Robinson <crobinso@redhat.com> Signed-off-by: Pino Toscano <ptoscano@redhat.com>
This commit is contained in:
parent
1a3a89d949
commit
f98daef031
|
@ -129,9 +129,12 @@ def test_suse():
|
|||
kernel="linux64")
|
||||
|
||||
|
||||
def test_mageia():
|
||||
_test("mageia/8", initrd="all.rdz")
|
||||
|
||||
|
||||
def test_misc():
|
||||
_test("generic")
|
||||
_test("magaeia", initrd="all.rdz")
|
||||
|
||||
with pytest.raises(ValueError) as e:
|
||||
_test("empty")
|
||||
|
|
Loading…
Reference in New Issue