Skip to content

Commit 00c5a6d

Browse files
committed
working on fixing all tests
1 parent d8f152e commit 00c5a6d

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

pyes/nose.sh

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env bash
2+
3+
../../pyes-venv/bin/python /usr/local/bin/nosetests $*
4+
#../../pyes-venv/bin/python nosetests $*

pyes/tests/test_attachments.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def setUp(self):
7373
self.conn.put_mapping(self.document_type, {self.document_type:{'properties':mapping}}, self.index_name)
7474
self.conn.refresh(self.index_name)
7575
self.conn.get_mapping(self.document_type, self.index_name)
76-
self.conn.index({"attachment":file_to_attachment(os.path.join("data", "testXHTML.html")), "uuid":"1" }, self.index_name, self.document_type, 1)
76+
self.conn.index({"attachment":file_to_attachment(os.path.join("tests", "data", "testXHTML.html")), "uuid":"1" }, self.index_name, self.document_type, 1)
7777
self.conn.refresh(self.index_name)
7878

7979
def test_TermQuery(self):

setup.cfg

+1
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ upload-dir = docs/.build/html
1717
[bdist_rpm]
1818
requires = python-thrift
1919
python-multiprocessing==2.6.2.1
20+
requests==0.9.1

0 commit comments

Comments
 (0)