38 lines
1.4 KiB
Diff
38 lines
1.4 KiB
Diff
diff --git a/tests/unit_tests/conftest.py b/tests/unit_tests/conftest.py
|
|
index 63f3a83e0..61c2d6ce3 100644
|
|
--- a/tests/unit_tests/conftest.py
|
|
+++ b/tests/unit_tests/conftest.py
|
|
@@ -5,22 +5,22 @@ from importlib import util
|
|
from typing import Dict, Sequence
|
|
|
|
import pytest
|
|
-from blockbuster import blockbuster_ctx
|
|
+# from blockbuster import blockbuster_ctx
|
|
from pytest import Config, Function, Parser
|
|
|
|
|
|
-@pytest.fixture(autouse=True)
|
|
-def blockbuster() -> Iterator[None]:
|
|
- with blockbuster_ctx("langchain_community") as bb:
|
|
- (
|
|
- bb.functions["os.stat"]
|
|
- .can_block_in("langchain_community/utils/openai.py", "is_openai_v1")
|
|
- .can_block_in("httpx/_client.py", "_init_transport")
|
|
- )
|
|
- bb.functions["os.path.abspath"].can_block_in(
|
|
- "sqlalchemy/dialects/sqlite/pysqlite.py", "create_connect_args"
|
|
- )
|
|
- yield
|
|
+# @pytest.fixture(autouse=True)
|
|
+# def blockbuster() -> Iterator[None]:
|
|
+# with blockbuster_ctx("langchain_community") as bb:
|
|
+# (
|
|
+# bb.functions["os.stat"]
|
|
+# .can_block_in("langchain_community/utils/openai.py", "is_openai_v1")
|
|
+# .can_block_in("httpx/_client.py", "_init_transport")
|
|
+# )
|
|
+# bb.functions["os.path.abspath"].can_block_in(
|
|
+# "sqlalchemy/dialects/sqlite/pysqlite.py", "create_connect_args"
|
|
+# )
|
|
+# yield
|