]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
add openeuler unittest 495/head
authorXiaoboChen <mydeplace@163.com>
Mon, 13 Apr 2020 11:58:35 +0000 (19:58 +0800)
committerXiaoboChen <mydeplace@163.com>
Mon, 13 Apr 2020 11:58:35 +0000 (19:58 +0800)
ceph_deploy/tests/unit/hosts/test_hosts.py

index dbc448c0380f4c7de06518de7baf219a93d98063..3374d89516ec38713004e9131eac2135bc9e3804 100644 (file)
@@ -431,3 +431,7 @@ class TestGetDistro(object):
     def test_get_altlinux(self):
         result = hosts._get_distro('ALT Linux')
         assert result.__name__.endswith('alt')
+
+    def test_get_openeulerlinux(self):
+        result = hosts._get_distro('Openeuler')
+        assert result.__name__.endswith('fedora')