From: Alfredo Deza Date: Mon, 14 Jul 2014 16:22:22 +0000 (-0400) Subject: a test to ensure we are getting centos right X-Git-Tag: v1.5.9~3^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d3bf0d8ceb3f819d5030627c6d5c9b226d8c7fc4;p=ceph-deploy.git a test to ensure we are getting centos right Signed-off-by: Alfredo Deza --- diff --git a/ceph_deploy/tests/unit/hosts/test_hosts.py b/ceph_deploy/tests/unit/hosts/test_hosts.py index 701171f..424d4db 100644 --- a/ceph_deploy/tests/unit/hosts/test_hosts.py +++ b/ceph_deploy/tests/unit/hosts/test_hosts.py @@ -11,6 +11,10 @@ class TestNormalized(object): result = hosts._normalized_distro_name('Debian') assert result == 'debian' + def test_get_centos(self): + result = hosts._normalized_distro_name('CentOS Linux') + assert result == 'centos' + def test_get_ubuntu(self): result = hosts._normalized_distro_name('Ubuntu') assert result == 'ubuntu'