From: XiaoboChen Date: Mon, 13 Apr 2020 11:58:35 +0000 (+0800) Subject: add openeuler unittest X-Git-Tag: v2.1.0~12^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ab2ea1529c6d15c55a8869763709146d7fb812a6;p=ceph-deploy.git add openeuler unittest --- diff --git a/ceph_deploy/tests/unit/hosts/test_hosts.py b/ceph_deploy/tests/unit/hosts/test_hosts.py index dbc448c..3374d89 100644 --- a/ceph_deploy/tests/unit/hosts/test_hosts.py +++ b/ceph_deploy/tests/unit/hosts/test_hosts.py @@ -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')