#NEWLINE# def test_disconnect_comp( self ) : #NEWLINE# #INDENT# allcons = set ( self . dep . list_connections ( ) ) #NEWLINE# self . dep . disconnect ( 'B' ) #NEWLINE# self . assertEqual ( set ( self . dep . list_connections ( ) ) , ( self - set ( [ ( 'A.c[2]' , 'B.a.x.y' ) , ( 'A.d.z' , 'B.b[4]' ) , ( 'B.c' , 'C.a' ) , ( 'B.d' , 'C.b' ) ] ) ) )