#NEWLINE# def test_home( self ) : #NEWLINE# #INDENT# ' home ' #NEWLINE# class PluginA ( Plugin ) : #NEWLINE# #INDENT# id = 'A' #NEWLINE# #UNINDENT# class PluginB ( Plugin ) : #NEWLINE# #INDENT# id = 'B' #NEWLINE# #UNINDENT# a = PluginA ( ) #NEWLINE# b = PluginB ( ) #NEWLINE# application = TestApplication ( plugins = [ a , b ] ) #NEWLINE# self . assertEqual ( join ( application . home , 'plugins' , a . id ) , a . home ) #NEWLINE# self . assertEqual ( join ( application . home , 'plugins' , b . id ) , b . home ) #NEWLINE# self . assert_ ( exists ( a . home ) ) #NEWLINE# self . assert_ ( exists ( b . home ) ) #NEWLINE# a = PluginA ( ) #NEWLINE# b = PluginB ( ) #NEWLINE# application = TestApplication ( plugins = [ a , b ] ) #NEWLINE# self . assertEqual ( join ( application . home , 'plugins' , a . id ) , a . home ) #NEWLINE# self . assertEqual ( join ( application . home , 'plugins' , b . id ) , b . home ) #NEWLINE# self . assert_ ( exists ( a . home ) ) #NEWLINE# self . assert_ ( exists ( b . home ) ) #NEWLINE# return