def create_test_blockdevice_volume_for_dataset_id(dataset_id, attached_to=None):
 return BlockDeviceVolume(blockdevice_id=_create_blockdevice_id_for_test(dataset_id), size=int(REALISTIC_BLOCKDEVICE_SIZE.to_Byte()), attached_to=attached_to, dataset_id=UUID(dataset_id))

def create_test_blockdevice_volume_for_dataset_id ( dataset_id , attached_to = None ) : return BlockDeviceVolume ( blockdevice_id = _create_blockdevice_id_for_test ( dataset_id ) , size = int ( REALISTIC_BLOCKDEVICE_SIZE . to_Byte ( ) ) , attached_to = attached_to , dataset_id = UUID ( dataset_id ) )
create a fake blockdevicevolume for the given dataset_id .