#NEWLINE# def test_multiple_volumes_attached_to_host( self ) : #NEWLINE# #INDENT# '\n        ``attach_volume`` can attach multiple block devices to a single host.\n        ' #NEWLINE# volume1 = self . api . create_volume ( dataset_id = uuid4 ( ) , size = self . minimum_allocatable_size ) #NEWLINE# volume2 = self . api . create_volume ( dataset_id = uuid4 ( ) , size = self . minimum_allocatable_size ) #NEWLINE# attached_volume1 = self . api . attach_volume ( volume1 . blockdevice_id , attach_to = self . this_node ) #NEWLINE# attached_volume2 = self . api . attach_volume ( attached_volume1 . blockdevice_id , attach_to = self . this_node ) #NEWLINE# self . repeat_until_consistent ( ( lambda : self . assertItemsEqual ( [ attached_volume1 , attached_volume2 ] , self . api . list_volumes ( ) ) ) )