[virt-manager PATCH 1/3] tests: tweak mageia detection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


- 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():
+def test_mageia():
+    _test("mageia/8", initrd="all.rdz")
 def test_misc():
-    _test("magaeia", initrd="all.rdz")
     with pytest.raises(ValueError) as e:

[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux