Skip to content

Commit

Permalink
Add IRequestCacheIndex implement test
Browse files Browse the repository at this point in the history
  • Loading branch information
andbag committed May 19, 2016
1 parent fdab4cc commit 1a312d9
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/Products/PluginIndexes/FieldIndex/tests.py
Expand Up @@ -108,11 +108,15 @@ def test_interfaces(self):
from Products.PluginIndexes.interfaces import IPluggableIndex
from Products.PluginIndexes.interfaces import ISortIndex
from Products.PluginIndexes.interfaces import IUniqueValueIndex
from Products.PluginIndexes.interfaces import IRequestCacheIndex
from zope.interface.verify import verifyClass

verifyClass(IPluggableIndex, self._getTargetClass())
verifyClass(ISortIndex, self._getTargetClass())
verifyClass(IUniqueValueIndex, self._getTargetClass())
klass = self._getTargetClass()

verifyClass(IPluggableIndex, klass)
verifyClass(ISortIndex, klass)
verifyClass(IUniqueValueIndex, klass)
verifyClass(IRequestCacheIndex, klass)

def testEmpty(self):
"Test an empty FieldIndex."
Expand Down

0 comments on commit 1a312d9

Please sign in to comment.