#NEWLINE# def test_proxied_attributes( self ) : #NEWLINE# #INDENT# validator = mock . Mock ( return_value = self . value_cache [ 'the_date' ] ) #NEWLINE# value_proxy = proxy . ValueProxy ( validator , self . value_cache , 'the_date' ) #NEWLINE# assert_equal ( value_proxy . date ( ) , datetime . date ( 2012 , 3 , 14 ) ) #NEWLINE# assert_equal ( value_proxy . hour , 4 )