#NEWLINE# def test_get_value_fails_validation( self ) : #NEWLINE# #INDENT# expected = [ self . name , self . config_key ] #NEWLINE# validator = mock . Mock ( side_effect = validation . ValidationError ) #NEWLINE# _ = proxy . ValueProxy ( validator , self . namespace , 'something.broken' ) #NEWLINE# assert_raises_and_contains ( errors . ConfigurationError , expected , ( lambda : self . value_proxy . value ) )