#NEWLINE# def test_build_getter( self ) : #NEWLINE# #INDENT# validator = mock . Mock ( ) #NEWLINE# getter = getters . build_getter ( validator ) #NEWLINE# assert callable ( getter ) , 'Getter is not callable' #NEWLINE# value_proxy = getter ( 'the_name' ) #NEWLINE# namespace = config . get_namespace ( config . DEFAULT ) #NEWLINE# assert_in ( id ( value_proxy ) , namespace . value_proxies ) #NEWLINE# assert_equal ( self . config_key , 'the_name' ) #NEWLINE# assert_equal ( value_proxy . namespace , namespace )