Permalink
Browse files

Fixed the test issue found in #34, and updated the REST client to usi…

…ng lucene-querybuilder 0.1.5.
  • Loading branch information...
1 parent 5e6eabe commit 92906fdb554d178cb01c5ccdde9da57ce6fd816e @mhluongo mhluongo committed Sep 4, 2011
Showing with 5 additions and 5 deletions.
  1. +3 −3 neo4jrestclient/tests.py
  2. +1 −1 requirements.txt
  3. +1 −1 setup.py
View
@@ -317,11 +317,11 @@ def test_query_index(self):
self.assertTrue(n1 in results and n2 in results)
results = index.query("surnames:do*")
self.assertTrue(n1 in results and n2 in results)
- results = index.query('surnames', Q('do*'))
+ results = index.query('surnames', Q('do*', wildcard=True))
self.assertTrue(n1 in results and n2 in results)
- results = index.query(Q('surnames', 'do*'))
+ results = index.query(Q('surnames', 'do*', wildcard=True))
self.assertTrue(n1 in results and n2 in results)
- results = index.query(Q('surnames', 'do*') & Q('place', 'Tijuana'))
+ results = index.query(Q('surnames', 'do*', wildcard=True) & Q('place', 'Tijuana'))
self.assertTrue(n1 not in results and n2 in results)
results = index.query(-Q('surnames', 'donald') | +Q('place', 'Texas'))
self.assertTrue(n2 not in results and n1 in results)
View
@@ -3,5 +3,5 @@ distribute==0.6.10
httplib2==0.7.1
ipdb==0.4
ipython==0.10.2
-lucene-querybuilder==0.1.2
+lucene-querybuilder==0.1.5
wsgiref==0.1.2
View
@@ -36,6 +36,6 @@ def read(*rnames):
include_package_data=True,
install_requires=[
'httplib2',
- 'lucene-querybuilder==0.1.2',
+ 'lucene-querybuilder==0.1.5',
],
)

0 comments on commit 92906fd

Please sign in to comment.