#NEWLINE# def test_representation( self ) : #NEWLINE# #INDENT# "\n        The string representation of an instance of L{NamedConstant} includes\n        the container the instances belongs to as well as the instance's name.\n        " #NEWLINE# name = NamedConstant ( ) #NEWLINE# name . _realize ( self . container , 'bar' , None ) #NEWLINE# self . assertEqual ( '<foo=bar>' , repr ( name ) )