Skip to content

Commit 3bad1b3

Browse files
authored
Merge pull request #53 from blink1073/INTPYTHON-450
INTPYTHON-450 Patch llama index test
2 parents 6ded93f + 5d607a8 commit 3bad1b3

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

langchain-python/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ROOT_DIR=$(dirname $SCRIPT_DIR)
1313
PYTHON_BINARY=$(find_python3)
1414

1515
# shellcheck disable=SC2164
16-
cd libs/mongodb
16+
cd libs/langchain-mongodb
1717

1818
$PYTHON_BINARY -m venv venv_pipeline
1919
source venv_pipeline/bin/activate
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/llama-index-integrations/vector_stores/llama-index-vector-stores-mongodb/tests/test_vectorstore.py b/llama-index-integrations/vector_stores/llama-index-vector-stores-mongodb/tests/test_vectorstore.py
2+
index b48869690..a803fb668 100644
3+
--- a/llama-index-integrations/vector_stores/llama-index-vector-stores-mongodb/tests/test_vectorstore.py
4+
+++ b/llama-index-integrations/vector_stores/llama-index-vector-stores-mongodb/tests/test_vectorstore.py
5+
@@ -20,7 +20,7 @@ from .conftest import lock
6+
7+
def test_documents(documents: List[Document]) -> None:
8+
"""Sanity check essay was found and documents loaded."""
9+
- assert len(documents) == 23
10+
+ assert len(documents) == 25
11+
assert isinstance(documents[0], Document)
12+
13+

0 commit comments

Comments
 (0)