#NEWLINE# def test_enable_libraries( self ) : #NEWLINE# #INDENT# sandbox . _THIRD_PARTY_LIBRARY_FORMAT_STRING = 'name=%(name)s-version=%(version)s' #NEWLINE# libs = libs . config . libraries #NEWLINE# libs . add ( name = 'foo' , version = '12345' ) #NEWLINE# libs . add ( name = 'webapp2' , version = '2.5.1' ) #NEWLINE# self . assertEqual ( [ os . path . join ( os . path . dirname ( os . path . dirname ( google . __file__ ) ) , 'name=foo-version=12345' ) , os . path . join ( os . path . dirname ( os . path . dirname ( google . __file__ ) ) , 'name=webapp2-version=2.5.1' ) ] , sandbox . _enable_libraries ( libs ) )