Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
test(api): stabilize shared fixtures and type-check scopes (#42801)
-LAN-baf68880077d
diff --git a/api/tests/unit_tests/conftest.py b/api/tests/unit_tests/conftest.pyindex 48d5e0ea671..2c9709c897d 100644--- a/api/tests/unit_tests/conftest.py+++ b/api/tests/unit_tests/conftest.py@@ -119,6 +119,8 @@ def _patch_redis_clients() -> Iterator[None]:def reset_redis_mock(_patch_redis_clients: None) -> None:"""Reset the shared Redis mock after per-test client rebinding."""redis_mock.reset_mock()+ # Restoring a monkeypatched method can leave it detached from the parent's reset traversal.+ redis_mock.delete.reset_mock()redis_mock.get.return_value = Noneredis_mock.setex.return_value = Noneredis_mock.setnx.return_value = Nonediff --git a/dev/pyrefly-check-local b/dev/pyrefly-check-localindex b14dfba996f..01a15db79be 100755--- a/dev/pyrefly-check-local+++ b/dev/pyrefly-check-local@@ -78,6 +78,7 @@ if (( ${#target_paths[@]} == 0 )); thenunit_tests_args=("--summary=none""--use-ignore-files=false"+ "--disable-project-excludes-heuristics=true""--config=$UNIT_TESTS_CONFIG")if [[ "${PYREFLY_OUTPUT_FORMAT:-}" == "github" ]]; then@@ -91,6 +92,7 @@ if (( ${#target_paths[@]} == 0 )); thentest_containers_args=("--summary=none""--use-ignore-files=false"+ "--disable-project-excludes-heuristics=true""--config=$TEST_CONTAINERS_CONFIG")if [[ "${PYREFLY_OUTPUT_FORMAT:-}" == "github" ]]; then