From: Kefu Chai Date: Tue, 12 Jul 2016 17:02:14 +0000 (+0800) Subject: test: ceph-detect-init: fix the indent X-Git-Tag: ses5-milestone5~428^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4366145a09f109c86972014c945969036653eeaa;p=ceph.git test: ceph-detect-init: fix the indent this fixes the pep8 failure: ``` pep8 runtests: commands[0] | flake8 ceph_detect_init tests tests/test_all.py:121:17: E128 continuation line under-indented for visual indent tests/test_all.py:125:17: E128 continuation line under-indented for visual indent tests/test_all.py:129:17: E128 continuation line under-indented for visual indent tests/test_all.py:133:17: E128 continuation line under-indented for visual indent ``` Signed-off-by: Kefu Chai --- diff --git a/src/ceph-detect-init/tests/test_all.py b/src/ceph-detect-init/tests/test_all.py index c6e9e30d8e01..e8f91e5b99a9 100644 --- a/src/ceph-detect-init/tests/test_all.py +++ b/src/ceph-detect-init/tests/test_all.py @@ -118,20 +118,20 @@ class TestCephDetectInit(testtools.TestCase): def test_gentoo(self): with mock.patch.multiple('ceph_detect_init.gentoo', - is_systemd=(lambda: True), - is_openrc=(lambda: True)): + is_systemd=(lambda: True), + is_openrc=(lambda: True)): self.assertEqual('openrc', gentoo.choose_init()) with mock.patch.multiple('ceph_detect_init.gentoo', - is_systemd=(lambda: True), - is_openrc=(lambda: False)): + is_systemd=(lambda: True), + is_openrc=(lambda: False)): self.assertEqual('systemd', gentoo.choose_init()) with mock.patch.multiple('ceph_detect_init.gentoo', - is_systemd=(lambda: False), - is_openrc=(lambda: True)): + is_systemd=(lambda: False), + is_openrc=(lambda: True)): self.assertEqual('openrc', gentoo.choose_init()) with mock.patch.multiple('ceph_detect_init.gentoo', - is_systemd=(lambda: False), - is_openrc=(lambda: False)): + is_systemd=(lambda: False), + is_openrc=(lambda: False)): self.assertEqual('unknown', gentoo.choose_init()) def test_get(self):