]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test: ceph-detect-init: fix the indent
authorKefu Chai <kchai@redhat.com>
Tue, 12 Jul 2016 17:02:14 +0000 (01:02 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 12 Jul 2016 18:22:15 +0000 (02:22 +0800)
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 <kchai@redhat.com>
src/ceph-detect-init/tests/test_all.py

index c6e9e30d8e01b30f2d13a0a80b30d32e2f887722..e8f91e5b99a9ab554571f66204644cb8a0c884da 100644 (file)
@@ -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):