def test_reduce_lvm_volume_group_missing_extra_args(self, _call): cinder_utils.reduce_lvm_volume_group_missing('test', extra_args=['--arg']) expected_call_args = ['vgreduce', '--removemissing', '--arg', 'test'] _call.assert_called_with(expected_call_args)
def test_reduce_lvm_volume_group_missing_extra_args(self, _call): cinder_utils.reduce_lvm_volume_group_missing( 'test', extra_args=['--arg']) expected_call_args = ['vgreduce', '--removemissing', '--arg', 'test'] _call.assert_called_with(expected_call_args)
def test_reduce_lvm_volume_group_missing(self, _call): cinder_utils.reduce_lvm_volume_group_missing('test') _call.assert_called_with(['vgreduce', '--removemissing', 'test'])
def test_reduce_lvm_volume_group_missing(self, _call): cinder_utils.reduce_lvm_volume_group_missing('test') _call.assert_called_with(['vgreduce', '--removemissing', 'test'])