#NEWLINE# def test_get_bond_interfaces_for_all_nodes( self ) : #NEWLINE# #INDENT# node = self . env . nodes [ 0 ] #NEWLINE# node . bond_interfaces . append ( NodeBondInterface ( name = 'ovs-bond0' , slaves = node . nic_interfaces ) ) #NEWLINE# self . db . flush ( ) #NEWLINE# bond_interfaces = objects . Cluster . get_bond_interfaces_for_all_nodes ( self . cluster ) #NEWLINE# self . assertEqual ( len ( bond_interfaces ) , 1 )