Test fallback to __dict__.
(self)
| 413 | assert model_to_dict(parse_model) == {"name": "test", "value": 42} |
| 414 | |
| 415 | def test_dict_fallback(self): |
| 416 | """Test fallback to __dict__.""" |
| 417 | simple_model = SimpleModel("test value") |
| 418 | assert model_to_dict(simple_model) == {"value": "test value"} |
| 419 | |
| 420 | def test_dict_fallback_exception_handling(self): |
| 421 | """Test exception handling in dict fallback.""" |
nothing calls this directly
no test coverage detected