def test_is_removable_not(self, hwd):
read_data = "0"
with patch("srv.salt._modules.cephdisks.open", mock_open(read_data=read_data)) as mock_file:
expect = None
out = hwd._is_removable('disk/in/question')
assert expect == out
评论列表
文章目录