(self, tw, bold: bool, color: str)
| 125 | @pytest.mark.parametrize("bold", (True, False)) |
| 126 | @pytest.mark.parametrize("color", ("red", "green")) |
| 127 | def test_markup(self, tw, bold: bool, color: str) -> None: |
| 128 | text = tw.markup("hello", **{color: True, "bold": bold}) |
| 129 | assert "hello" in text |
| 130 | |
| 131 | def test_markup_bad(self, tw) -> None: |
| 132 | with pytest.raises(ValueError): |