Skip to content

Commit

Permalink
Need unique id of catalog instance for caching support
Browse files Browse the repository at this point in the history
  • Loading branch information
andbag committed Oct 17, 2016
1 parent 6d0ddbc commit de5cc81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Products/ZCatalog/tests/test_zcatalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class ZCatalogBase(object):

def _makeOne(self):
from Products.ZCatalog.ZCatalog import ZCatalog
return ZCatalog('Catalog')
return ZCatalog('Catalog-%s' % id(self))

def _makeOneIndex(self, name):
from Products.PluginIndexes.FieldIndex.FieldIndex import FieldIndex
Expand Down

0 comments on commit de5cc81

Please sign in to comment.