text-splitters: test without socket (#28732)

This commit is contained in:
Erick Friis
2024-12-15 14:10:35 -08:00
committed by GitHub
parent 690aa02c31
commit 8ec1c72e03
3 changed files with 26 additions and 7 deletions

View File

@@ -6,11 +6,8 @@ all: help
# Define a variable for the test file path.
TEST_FILE ?= tests/unit_tests/
test:
poetry run pytest $(TEST_FILE)
tests:
poetry run pytest $(TEST_FILE)
test tests:
poetry run pytest --disable-socket --allow-unix-socket $(TEST_FILE)
test_watch:
poetry run ptw --snapshot-update --now . -- -vv -x tests/unit_tests