Commit be5b2c2d authored by Hanno Schlichting's avatar Hanno Schlichting

Fixed assert statement

parent 622db6dd
...@@ -148,9 +148,7 @@ class TestKeywordIndex( unittest.TestCase ): ...@@ -148,9 +148,7 @@ class TestKeywordIndex( unittest.TestCase ):
kw = sortedUnique(v.foo()) kw = sortedUnique(v.foo())
self.assertEqual(entry, kw) self.assertEqual(entry, kw)
assert (len( self._index.uniqueValues( 'foo' ) ) == len( values )-1, assert len( self._index.uniqueValues( 'foo' ) ) == len( values )-1
len(values)-1)
assert self._index._apply_index( self._noop_req ) is None assert self._index._apply_index( self._noop_req ) is None
self._checkApply( self._all_req, values[:-1]) self._checkApply( self._all_req, values[:-1])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment