MCPcopy Create free account
hub / github.com/bigdra50/unity-cli / test_print_warning_plain

Method test_print_warning_plain

tests/test_output.py:173–177  ·  view source on GitHub ↗
(self, capsys: pytest.CaptureFixture[str])

Source from the content-addressed store, hash-verified

171 assert "\033" not in err
172
173 def test_print_warning_plain(self, capsys: pytest.CaptureFixture[str]) -> None:
174 print_warning("caution")
175 out = capsys.readouterr().out
176 assert "[WARN] caution" in out
177 assert "\033" not in out
178
179 def test_print_info_plain(self, capsys: pytest.CaptureFixture[str]) -> None:
180 print_info("note")

Callers

nothing calls this directly

Calls 1

print_warningFunction · 0.90

Tested by

no test coverage detected