Skip to content

Commit

Permalink
Merge pull request #53 from blink1073/INTPYTHON-450
Browse files Browse the repository at this point in the history
INTPYTHON-450 Patch llama index test
  • Loading branch information
blink1073 authored Dec 16, 2024
2 parents 6ded93f + 5d607a8 commit 3bad1b3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion langchain-python/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ROOT_DIR=$(dirname $SCRIPT_DIR)
PYTHON_BINARY=$(find_python3)

# shellcheck disable=SC2164
cd libs/mongodb
cd libs/langchain-mongodb

$PYTHON_BINARY -m venv venv_pipeline
source venv_pipeline/bin/activate
Expand Down
13 changes: 13 additions & 0 deletions llama-index-python-vectorstore/patches/pin-test-output.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
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
index b48869690..a803fb668 100644
--- 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
@@ -20,7 +20,7 @@ from .conftest import lock

def test_documents(documents: List[Document]) -> None:
"""Sanity check essay was found and documents loaded."""
- assert len(documents) == 23
+ assert len(documents) == 25
assert isinstance(documents[0], Document)


0 comments on commit 3bad1b3

Please sign in to comment.