()
| 397 | |
| 398 | @pytest.fixture |
| 399 | def complex_nested_xml_tool(): |
| 400 | return ComplexNestedXMLTool( |
| 401 | person=Person( |
| 402 | name="Jane Doe", |
| 403 | age=28, |
| 404 | address=Address(street="456 Elm St", city="Somewhere", country="Canada"), |
| 405 | ), |
| 406 | hobbies=["painting", "hiking"], |
| 407 | phones={"mobile": 5551234567, "work": 5559876543}, |
| 408 | friends=[ |
| 409 | Person( |
| 410 | name="John Doe", |
| 411 | age=30, |
| 412 | address=Address(street="123 Main St", city="Anytown", country="USA"), |
| 413 | ), |
| 414 | Person( |
| 415 | name="Jack Doe", |
| 416 | age=32, |
| 417 | address=Address(street="789 Oak St", city="Anywhere", country="UK"), |
| 418 | ), |
| 419 | ], |
| 420 | ) |
| 421 | |
| 422 | |
| 423 | def test_format_complex_nested(complex_nested_xml_tool: ComplexNestedXMLTool): |
nothing calls this directly
no test coverage detected
searching dependent graphs…