#NEWLINE# def test__pretty( self ) : #NEWLINE# #INDENT# name = 'an object' #NEWLINE# description = 'this is a test' #NEWLINE# obj = Container ( name = name , description = description ) #NEWLINE# res = pretty ( obj ) #NEWLINE# targ = ( "Container with  name: '%s' description: '%s'" % ( name , description ) ) #NEWLINE# self . assertEqual ( res , targ )