#NEWLINE# def test_project_as_component( self ) : #NEWLINE# #INDENT# '\n        Should not merge the project settings in twice even if\n        it is listed in the COMPONENTS array.\n        ' #NEWLINE# self . app = Flask ( 'alchemist.tests.a' ) #NEWLINE# components = [ 'alchemist.tests.a.b' , 'alchemist.tests.a' ] #NEWLINE# with settings ( self . app , COMPONENTS = components ) : #NEWLINE# #INDENT# alchemist . configure ( components . app ) #NEWLINE# assert self . app . config . get ( 'B_SETTING' , 1 ) #NEWLINE# assert self . app . config . get ( 'A_SETTING' , 5 )