#NEWLINE# def test_duplicate_columns( self ) : #NEWLINE# #INDENT# bad_config = DataSourceConfiguration . wrap ( self . config . to_json ( ) ) #NEWLINE# bad_config . configured_indicators . append ( self . configured_indicators [ ( - 1 ) ] ) #NEWLINE# with self . assertRaises ( BadSpecError ) : #NEWLINE# #INDENT# bad_config . validate ( )