#453: WebSearch: fix test case (U(1) OR SL(2,Z))
-----------------------+----------------------------------------------------
Reporter: simko | Owner:
Type: defect | Status: new
Priority: major | Milestone: v1.0
Component: WebSearch | Version:
Keywords: |
-----------------------+----------------------------------------------------
Nested parens with or without whitespace inside should matter as to how
the pattern is parsed. Otherwise:
{{{
======================================================================
FAIL: websearch - query for special terms, (U(1) OR SL(2,Z))
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-
packages/invenio/websearch_regression_tests.py", line 1376, in
test_special_terms_u1_and_sl_or_parens
expected_text="[57, 79, 80, 88]"))
AssertionError: [] != ['ERROR: Page
http://pcuds33.cern.ch/search?of=id&p=%28U%281%29+OR+SL%282%2CZ%29%29
(login guest) led to an error: ERROR: Page
http://pcuds33.cern.ch/search?of=id&p=%28U%281%29+OR+SL%282%2CZ%29%29
(login guest) does not contain [57, 79, 80, 88]..']
}}}
--
Ticket URL: <http://invenio-software.org/ticket/453>
Invenio <http://invenio-software.org>