示例#1
0
 def test_unmaintenance(self, mock_doer):
     lib.maintenance_unmaintenance_local(self.lib_env, False, self.wait)
     mock_doer.assert_called_once_with(
         self.lib_env,
         self.maintenance_off,
         self.wait
     )
示例#2
0
文件: test_node.py 项目: miz-take/pcs
 def test_unmaintenance(self, mock_doer):
     lib.maintenance_unmaintenance_local(self.lib_env, False, self.wait)
     mock_doer.assert_called_once_with(
         self.lib_env,
         self.maintenance_off,
         self.wait
     )