#NEWLINE# def test_get_entity_hit_str( self ) : #NEWLINE# #INDENT# TYPE = 'type' #NEWLINE# ID = 'id' #NEWLINE# acl = self . _makeOne ( ) #NEWLINE# acl . loaded = True #NEWLINE# acl . entity ( TYPE , ID ) #NEWLINE# self . assertTrue ( acl . has_entity ( ( '%s-%s' % ( TYPE , ID ) ) ) )