#NEWLINE# def test_equality( self ) : #NEWLINE# #INDENT# '\n        A L{NamedConstant} instance compares equal to itself.\n        ' #NEWLINE# name = NamedConstant ( ) #NEWLINE# name . _realize ( self . container , 'bar' , None ) #NEWLINE# self . assertTrue ( ( name == name ) ) #NEWLINE# self . assertFalse ( ( name != name ) )