Skip to content

Commit

Permalink
Add test for multiple indexed attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
andbag committed May 24, 2019
1 parent 52114da commit b494b75
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Products/PluginIndexes/tests/test_unindex.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,3 +313,11 @@ def __init__(self, value):

index.unindex_object(2)
self.assertEqual(tuple(apply(req)[0]), (0,))

def test_multiple_indexed_attr(self):
self.assertRaises(NotImplementedError,
self._makeOne,
'foo',
extra={'indexed_attrs':
'foo, bar'}
)

0 comments on commit b494b75

Please sign in to comment.