コード例 #1
0
ファイル: test_all.py プロジェクト: isodude/ceph
 def test_rhel(self):
     with mock.patch('ceph_detect_init.rhel.release',
                     '7.0'):
         self.assertEqual('systemd', rhel.choose_init())
     self.assertEqual('sysvinit', rhel.choose_init())
コード例 #2
0
ファイル: test_all.py プロジェクト: eunjicious/buddystore_src
 def test_rhel(self):
     with mock.patch('ceph_detect_init.rhel.release', '7.0'):
         self.assertEqual('systemd', rhel.choose_init())
     self.assertEqual('sysvinit', rhel.choose_init())
コード例 #3
0
 def test_rhel(self):
     self.assertEqual('sysvinit', rhel.choose_init())