예제 #1
0
 def test_unstandby(self, mock_doer):
     lib.standby_unstandby_all(self.lib_env, False, self.wait)
     mock_doer.assert_called_once_with(
         self.lib_env,
         self.standby_off,
         self.wait
     )
예제 #2
0
파일: test_node.py 프로젝트: miz-take/pcs
 def test_unstandby(self, mock_doer):
     lib.standby_unstandby_all(self.lib_env, False, self.wait)
     mock_doer.assert_called_once_with(
         self.lib_env,
         self.standby_off,
         self.wait
     )