File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -31,10 +31,9 @@ def test_unknown_event_type_maps_to_unknown(self):
3131 "type" : "session.future_feature_from_server" ,
3232 "data" : {},
3333 }
34-
34+
3535 event = session_event_from_dict (unknown_event )
36- assert event .type == SessionEventType .UNKNOWN , \
37- f"Expected UNKNOWN, got { event .type } "
36+ assert event .type == SessionEventType .UNKNOWN , f"Expected UNKNOWN, got { event .type } "
3837
3938 def test_malformed_uuid_raises_error (self ):
4039 """Malformed UUIDs should raise ValueError for visibility, not be suppressed."""
@@ -45,7 +44,7 @@ def test_malformed_uuid_raises_error(self):
4544 "type" : "session.start" ,
4645 "data" : {},
4746 }
48-
47+
4948 # This should raise an error and NOT be silently suppressed
5049 with pytest .raises (ValueError ):
5150 session_event_from_dict (malformed_event )
@@ -59,7 +58,7 @@ def test_malformed_timestamp_raises_error(self):
5958 "type" : "session.start" ,
6059 "data" : {},
6160 }
62-
61+
6362 # This should raise an error and NOT be silently suppressed
6463 with pytest .raises ((ValueError , TypeError )):
6564 session_event_from_dict (malformed_event )
You can’t perform that action at this time.
0 commit comments