(xml_handler: XmlParserSerializer)
| 19 | |
| 20 | @pytest.fixture() |
| 21 | def build_sample(xml_handler: XmlParserSerializer) -> tuple[BcfXml, TopicHandler]: |
| 22 | ext = mdl.Extensions(topic_types=mdl.ExtensionsTopicTypes(topic_type=["Test type"])) |
| 23 | bcf = BcfXml.create_new("Test project", extensions=ext, xml_handler=xml_handler) |
| 24 | orig_th = bcf.add_topic("Test topic", "Test message", "Test author", "Test type") |
| 25 | return bcf, orig_th |
| 26 | |
| 27 | |
| 28 | def test_bcf_roundtrip(xml_handler, build_sample) -> None: |
nothing calls this directly
no test coverage detected