From ab2ea1529c6d15c55a8869763709146d7fb812a6 Mon Sep 17 00:00:00 2001 From: XiaoboChen Date: Mon, 13 Apr 2020 19:58:35 +0800 Subject: [PATCH] add openeuler unittest --- ceph_deploy/tests/unit/hosts/test_hosts.py | 4 ++++ 1 file changed, 4 insertions(+) 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') -- 2.47.3