(self)
| 409 | |
| 410 | @pytest.fixture |
| 411 | def insert_fixture(self): |
| 412 | parent = ( |
| 413 | a_parent() |
| 414 | .with_nsdecls() |
| 415 | .with_child(an_oomChild()) |
| 416 | .with_child(an_oooChild()) |
| 417 | .with_child(a_zomChild()) |
| 418 | ).element |
| 419 | zooChild = a_zooChild().with_nsdecls().element |
| 420 | expected_xml = ( |
| 421 | a_parent() |
| 422 | .with_nsdecls() |
| 423 | .with_child(an_oomChild()) |
| 424 | .with_child(an_oooChild()) |
| 425 | .with_child(a_zomChild()) |
| 426 | .with_child(a_zooChild()) |
| 427 | ).xml() |
| 428 | return parent, zooChild, expected_xml |
| 429 | |
| 430 | @pytest.fixture(params=[True, False]) |
| 431 | def remove_fixture(self, request): |
nothing calls this directly
no test coverage detected