From: Nathan Cutler Date: Mon, 14 Mar 2016 21:56:32 +0000 (+0100) Subject: ceph-detect-init: add test for squeeze X-Git-Tag: v10.1.0~88^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F8105%2Fhead;p=ceph.git ceph-detect-init: add test for squeeze Since we return 'sysvinit' for wheezy and squeeze only, make sure we are testing both of these. Signed-off-by: Nathan Cutler --- diff --git a/src/ceph-detect-init/tests/test_all.py b/src/ceph-detect-init/tests/test_all.py index c13b12b7364d..22cff5bca936 100644 --- a/src/ceph-detect-init/tests/test_all.py +++ b/src/ceph-detect-init/tests/test_all.py @@ -48,6 +48,10 @@ class TestCephDetectInit(testtools.TestCase): distro='debian', codename='wheezy'): self.assertEqual('sysvinit', debian.choose_init()) + with mock.patch.multiple('ceph_detect_init.debian', + distro='debian', + codename='squeeze'): + self.assertEqual('sysvinit', debian.choose_init()) with mock.patch.multiple('ceph_detect_init.debian', distro='debian', codename='jessie'):