@@ -148,7 +148,7 @@ def mock_create_run(**kwargs: Any) -> Any:
148148
149149
150150def test_on_chain_start_skips_persist_when_defers_inputs () -> None :
151- """Test that _on_chain_start skips persist when defers_inputs is set."""
151+ """Test that ` _on_chain_start` skips persist when ` defers_inputs` is set."""
152152 client = unittest .mock .MagicMock (spec = Client )
153153 client .tracing_queue = None
154154 tracer = LangChainTracer (client = client )
@@ -178,7 +178,7 @@ def mock_persist() -> None:
178178
179179
180180def test_on_chain_start_persists_when_not_defers_inputs () -> None :
181- """Test that _on_chain_start persists when defers_inputs is not set."""
181+ """Test that ` _on_chain_start` persists when ` defers_inputs` is not set."""
182182 client = unittest .mock .MagicMock (spec = Client )
183183 client .tracing_queue = None
184184 tracer = LangChainTracer (client = client )
@@ -207,7 +207,7 @@ def mock_persist(_: Any) -> None:
207207
208208
209209def test_on_chain_end_persists_when_defers_inputs () -> None :
210- """Test that _on_chain_end calls persist (POST) when defers_inputs is set."""
210+ """Test that ` _on_chain_end` calls persist (POST) when ` defers_inputs` is set."""
211211 client = unittest .mock .MagicMock (spec = Client )
212212 client .tracing_queue = None
213213 tracer = LangChainTracer (client = client )
@@ -247,7 +247,7 @@ def mock_update(_: Any) -> None:
247247
248248
249249def test_on_chain_end_updates_when_not_defers_inputs () -> None :
250- """Test that _on_chain_end calls update (PATCH) when defers_inputs is not set."""
250+ """Tests ` _on_chain_end` calls update (PATCH) when ` defers_inputs` is not set."""
251251 client = unittest .mock .MagicMock (spec = Client )
252252 client .tracing_queue = None
253253 tracer = LangChainTracer (client = client )
@@ -285,7 +285,7 @@ def mock_update(_: Any) -> None:
285285
286286
287287def test_on_chain_error_persists_when_defers_inputs () -> None :
288- """Test that _on_chain_error calls persist (POST) when defers_inputs is set."""
288+ """Test that ` _on_chain_error` calls persist (POST) when ` defers_inputs` is set."""
289289 client = unittest .mock .MagicMock (spec = Client )
290290 client .tracing_queue = None
291291 tracer = LangChainTracer (client = client )
@@ -325,7 +325,7 @@ def mock_update(_: Any) -> None:
325325
326326
327327def test_on_chain_error_updates_when_not_defers_inputs () -> None :
328- """Test that _on_chain_error calls update (PATCH) when defers_inputs is not set."""
328+ """Tests ` _on_chain_error` calls update (PATCH) when ` defers_inputs` is not set."""
329329 client = unittest .mock .MagicMock (spec = Client )
330330 client .tracing_queue = None
331331 tracer = LangChainTracer (client = client )
0 commit comments