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

Method test_is_plain

tests/test_output.py:96–100  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

94 assert not cfg.is_pretty
95
96 def test_is_plain(self) -> None:
97 cfg = OutputConfig(mode=OutputMode.PLAIN)
98 assert cfg.is_plain
99 assert not cfg.is_json
100 assert not cfg.is_pretty
101
102 def test_is_pretty(self) -> None:
103 cfg = OutputConfig(mode=OutputMode.PRETTY)

Callers

nothing calls this directly

Calls 1

OutputConfigClass · 0.90

Tested by

no test coverage detected