- create a versioned directory for the current VERSION file, fixing the typo in the distro name - move the test to an own function Signed-off-by: Pino Toscano <ptoscano@xxxxxxxxxx> --- tests/data/urldetect/{magaeia => mageia/8}/VERSION | 0 tests/test_urldetect.py | 5 ++++- 2 files changed, 4 insertions(+), 1 deletion(-) rename tests/data/urldetect/{magaeia => mageia/8}/VERSION (100%) diff --git a/tests/data/urldetect/magaeia/VERSION b/tests/data/urldetect/mageia/8/VERSION similarity index 100% rename from tests/data/urldetect/magaeia/VERSION rename to tests/data/urldetect/mageia/8/VERSION diff --git a/tests/test_urldetect.py b/tests/test_urldetect.py index 4993d230..71e5e1a8 100644 --- a/tests/test_urldetect.py +++ b/tests/test_urldetect.py @@ -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") -- 2.26.2