Test models with parse method.
(self)
| 408 | |
| 409 | @pytest.mark.skip(reason="parse() method handling is currently commented out in the implementation") |
| 410 | def test_parse_method(self): |
| 411 | """Test models with parse method.""" |
| 412 | parse_model = ModelWithParse({"name": "test", "value": 42}) |
| 413 | assert model_to_dict(parse_model) == {"name": "test", "value": 42} |
| 414 | |
| 415 | def test_dict_fallback(self): |
| 416 | """Test fallback to __dict__.""" |
nothing calls this directly
no test coverage detected