#NEWLINE# def test_basic( self ) : #NEWLINE# #INDENT# def factory( ) : #NEWLINE# #INDENT# return 42 #NEWLINE# #UNINDENT# provider = FactoryProvider ( self ) #NEWLINE# IProvider . check_compliance ( provider ) #NEWLINE# self . assertDictEqual ( provider . dependencies , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertEqual ( provider ( ) , 42 )