@@ -102,7 +102,6 @@ def mock_init(self, **kwargs):
102102 @pytest .fixture
103103 def langfuse_client (self , monkeypatch , tracer_provider , mock_processor_init ):
104104 """Create a mocked Langfuse client for testing."""
105-
106105 # Set environment variables
107106 monkeypatch .setenv ("LANGFUSE_PUBLIC_KEY" , "test-public-key" )
108107 monkeypatch .setenv ("LANGFUSE_SECRET_KEY" , "test-secret-key" )
@@ -3031,7 +3030,7 @@ def test_different_seeds_produce_different_ids(self, langfuse_client):
30313030 # All observation IDs should be unique
30323031 assert len (set (observation_ids )) == len (seeds )
30333032
3034- def test_langfuse_event_update_immutability (self , langfuse_client , memory_exporter , caplog ):
3033+ def test_langfuse_event_update_immutability (self , langfuse_client , caplog ):
30353034 """Test that LangfuseEvent.update() logs a warning and does nothing."""
30363035 import logging
30373036
@@ -3044,12 +3043,12 @@ def test_langfuse_event_update_immutability(self, langfuse_client, memory_export
30443043 )
30453044
30463045 # Try to update the event and capture warning logs
3047- with caplog .at_level (logging .WARNING , logger = ' langfuse._client.span' ):
3046+ with caplog .at_level (logging .WARNING , logger = " langfuse._client.span" ):
30483047 result = event .update (
30493048 name = "updated_name" ,
30503049 input = {"updated" : "input" },
30513050 output = {"updated" : "output" },
3052- metadata = {"updated" : "metadata" }
3051+ metadata = {"updated" : "metadata" },
30533052 )
30543053
30553054 # Verify warning was logged
0 commit comments