python run_tests.py test_indexer
Running unit tests at level 1
Running unit tests from /home/bruce/hg/roundup/roundup/trunk/.
Skipping postgresql indexer tests
Skipping mysql indexer tests
test_basics (test.test_indexer.IndexerTest) ... ok
test_casesensitity (test.test_indexer.IndexerTest) ... ok
test_change (test.test_indexer.IndexerTest) ... ok
test_clear (test.test_indexer.IndexerTest) ... ok
test_extremewords (test.test_indexer.IndexerTest) ... ok
test_stopwords (test.test_indexer.IndexerTest) ... ok
test_wordsplitting (test.test_indexer.IndexerTest) ... ok
test_basics (test.test_indexer.XapianIndexerTest) ...
Error in test test_basics (test.test_indexer.XapianIndexerTest)
Traceback (most recent call last):
File "/usr/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/bruce/hg/roundup/roundup/trunk/./test/test_indexer.py", line 64, in test_basics
self.assertSeqEqual(self.dex.find(['world']), [('test', '1', 'foo'),
File "/home/bruce/hg/roundup/roundup/trunk/./roundup/backends/indexer_xapian.py", line 126, in find
for m in matches]
TypeError: 'MSetItem' object does not support indexing
test_casesensitity (test.test_indexer.XapianIndexerTest) ...
Error in test test_casesensitity (test.test_indexer.XapianIndexerTest)
Traceback (most recent call last):
File "/usr/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/bruce/hg/roundup/roundup/trunk/./test/test_indexer.py", line 120, in test_casesensitity
self.assertSeqEqual(self.dex.find(['aaaa']),
File "/home/bruce/hg/roundup/roundup/trunk/./roundup/backends/indexer_xapian.py", line 126, in find
for m in matches]
TypeError: 'MSetItem' object does not support indexing
test_change (test.test_indexer.XapianIndexerTest) ...
Error in test test_change (test.test_indexer.XapianIndexerTest)
Traceback (most recent call last):
File "/usr/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/bruce/hg/roundup/roundup/trunk/./test/test_indexer.py", line 72, in test_change
self.assertSeqEqual(self.dex.find(['world']), [('test', '1', 'foo'),
File "/home/bruce/hg/roundup/roundup/trunk/./roundup/backends/indexer_xapian.py", line 126, in find
for m in matches]
TypeError: 'MSetItem' object does not support indexing
test_clear (test.test_indexer.XapianIndexerTest) ...
Error in test test_clear (test.test_indexer.XapianIndexerTest)
Traceback (most recent call last):
File "/usr/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/bruce/hg/roundup/roundup/trunk/./test/test_indexer.py", line 80, in test_clear
self.assertSeqEqual(self.dex.find(['world']), [('test', '1', 'foo'),
File "/home/bruce/hg/roundup/roundup/trunk/./roundup/backends/indexer_xapian.py", line 126, in find
for m in matches]
TypeError: 'MSetItem' object does not support indexing
test_extremewords (test.test_indexer.XapianIndexerTest) ...
Error in test test_extremewords (test.test_indexer.XapianIndexerTest)
Traceback (most recent call last):
File "/usr/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/bruce/hg/roundup/roundup/trunk/./test/test_indexer.py", line 105, in test_extremewords
self.assertSeqEqual(self.dex.find([short,'world', long, short]),
File "/home/bruce/hg/roundup/roundup/trunk/./roundup/backends/indexer_xapian.py", line 126, in find
for m in matches]
TypeError: 'MSetItem' object does not support indexing
test_stopwords (test.test_indexer.XapianIndexerTest) ...
Error in test test_stopwords (test.test_indexer.XapianIndexerTest)
Traceback (most recent call last):
File "/usr/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/bruce/hg/roundup/roundup/trunk/./test/test_indexer.py", line 93, in test_stopwords
self.assertSeqEqual(self.dex.find(['with','world']),
File "/home/bruce/hg/roundup/roundup/trunk/./roundup/backends/indexer_xapian.py", line 126, in find
for m in matches]
TypeError: 'MSetItem' object does not support indexing
test_wordsplitting (test.test_indexer.XapianIndexerTest) ...
Error in test test_wordsplitting (test.test_indexer.XapianIndexerTest)
Traceback (most recent call last):
File "/usr/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/bruce/hg/roundup/roundup/trunk/./test/test_indexer.py", line 132, in test_wordsplitting
self.assertSeqEqual(self.dex.find([k]),
File "/home/bruce/hg/roundup/roundup/trunk/./roundup/backends/indexer_xapian.py", line 126, in find
for m in matches]
TypeError: 'MSetItem' object does not support indexing
test_basics (test.test_indexer.sqliteIndexerTest) ... ok
test_casesensitity (test.test_indexer.sqliteIndexerTest) ... ok
test_change (test.test_indexer.sqliteIndexerTest) ... ok
test_clear (test.test_indexer.sqliteIndexerTest) ... ok
test_extremewords (test.test_indexer.sqliteIndexerTest) ... ok
test_stopwords (test.test_indexer.sqliteIndexerTest) ... ok
test_wordsplitting (test.test_indexer.sqliteIndexerTest) ... ok
======================================================================
ERROR: test_basics (test.test_indexer.XapianIndexerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/bruce/hg/roundup/roundup/trunk/./test/test_indexer.py", line 64, in test_basics
self.assertSeqEqual(self.dex.find(['world']), [('test', '1', 'foo'),
File "/home/bruce/hg/roundup/roundup/trunk/./roundup/backends/indexer_xapian.py", line 126, in find
for m in matches]
TypeError: 'MSetItem' object does not support indexing
======================================================================
ERROR: test_casesensitity (test.test_indexer.XapianIndexerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/bruce/hg/roundup/roundup/trunk/./test/test_indexer.py", line 120, in test_casesensitity
self.assertSeqEqual(self.dex.find(['aaaa']),
File "/home/bruce/hg/roundup/roundup/trunk/./roundup/backends/indexer_xapian.py", line 126, in find
for m in matches]
TypeError: 'MSetItem' object does not support indexing
======================================================================
ERROR: test_change (test.test_indexer.XapianIndexerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/bruce/hg/roundup/roundup/trunk/./test/test_indexer.py", line 72, in test_change
self.assertSeqEqual(self.dex.find(['world']), [('test', '1', 'foo'),
File "/home/bruce/hg/roundup/roundup/trunk/./roundup/backends/indexer_xapian.py", line 126, in find
for m in matches]
TypeError: 'MSetItem' object does not support indexing
======================================================================
ERROR: test_clear (test.test_indexer.XapianIndexerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/bruce/hg/roundup/roundup/trunk/./test/test_indexer.py", line 80, in test_clear
self.assertSeqEqual(self.dex.find(['world']), [('test', '1', 'foo'),
File "/home/bruce/hg/roundup/roundup/trunk/./roundup/backends/indexer_xapian.py", line 126, in find
for m in matches]
TypeError: 'MSetItem' object does not support indexing
======================================================================
ERROR: test_extremewords (test.test_indexer.XapianIndexerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/bruce/hg/roundup/roundup/trunk/./test/test_indexer.py", line 105, in test_extremewords
self.assertSeqEqual(self.dex.find([short,'world', long, short]),
File "/home/bruce/hg/roundup/roundup/trunk/./roundup/backends/indexer_xapian.py", line 126, in find
for m in matches]
TypeError: 'MSetItem' object does not support indexing
======================================================================
ERROR: test_stopwords (test.test_indexer.XapianIndexerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/bruce/hg/roundup/roundup/trunk/./test/test_indexer.py", line 93, in test_stopwords
self.assertSeqEqual(self.dex.find(['with','world']),
File "/home/bruce/hg/roundup/roundup/trunk/./roundup/backends/indexer_xapian.py", line 126, in find
for m in matches]
TypeError: 'MSetItem' object does not support indexing
======================================================================
ERROR: test_wordsplitting (test.test_indexer.XapianIndexerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/bruce/hg/roundup/roundup/trunk/./test/test_indexer.py", line 132, in test_wordsplitting
self.assertSeqEqual(self.dex.find([k]),
File "/home/bruce/hg/roundup/roundup/trunk/./roundup/backends/indexer_xapian.py", line 126, in find
for m in matches]
TypeError: 'MSetItem' object does not support indexing
----------------------------------------------------------------------
Ran 21 tests in 0.624s
FAILED (errors=7)
lenin:$