#NEWLINE# def test_multi_selection_updates_editable( self ) : #NEWLINE# #INDENT# 'Selection disables edit_subset for all other data' #NEWLINE# self . widget . bind_selection_to_edit_subset ( ) #NEWLINE# layer = self . add_layer ( ) #NEWLINE# layer2 = self . add_layer ( ) #NEWLINE# grps = [ self . collect . new_subset_group ( ) for _ in range ( 3 ) ] #NEWLINE# self . select_layers ( * grps [ : 2 ] ) #NEWLINE# selected = [ s . group for s in ( layer . edit_subset + layer2 . edit_subset ) ] #NEWLINE# assert ( grps [ 0 ] in selected ) #NEWLINE# assert ( grps [ 1 ] in selected ) #NEWLINE# assert ( grps [ 2 ] not in selected )