Hi Joe:
On Thu, 29 Apr 2010, Joe Blaylock wrote:
> Please commit my branch 'seqp_unit_tests' (commit a23cffbcc) to
> master.
The branch breaks one test case. Can you please have a look and amend?
======================================================================
FAIL: SPIRES search syntax - find a j ellis and (t report or k "cross section")
----------------------------------------------------------------------
Traceback (most recent call last):
File "./search_engine_query_parser_tests.py", line 300, in
test_combine_multiple_or
self._compare_searches(inv_search, spi_search)
File "./search_engine_query_parser_tests.py", line 219, in _compare_searches
(repr(result_obtained), repr(result_wanted))
AssertionError: SPIRES parsed as [['+', 'ellis, j*', 'author', 'a'],
['+', 'report', 'title', 'w'], ['|', 'cross section', 'keyword', 'a']]
instead of [['+', 'ellis, j*', 'author', 'a'], ['+', 'report', 'title',
'w'], ['|', 'cross section', 'keyword', 'a'], ['+', 'report', 'title',
'w'], ['|', 'cross section', 'keyword', 'a']]
----------------------------------------------------------------------
Best regards
--
Tibor Simko