()
| 16 | |
| 17 | |
| 18 | def test_add_code(): |
| 19 | b = dp.builtins.add_code(md_block, "print(1)") |
| 20 | assert isinstance(b, dp.Select) |
| 21 | assert glom(b, ("blocks", ["_tag"])) == ["Text", "Code"] |
| 22 | assert "print(1)" in element_to_str(b) |
| 23 | |
| 24 | |
| 25 | def test_build_md_view(): |
nothing calls this directly
no test coverage detected