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

Method test_is_json

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

Source from the content-addressed store, hash-verified

88
89class TestOutputConfig:
90 def test_is_json(self) -> None:
91 cfg = OutputConfig(mode=OutputMode.JSON)
92 assert cfg.is_json
93 assert not cfg.is_plain
94 assert not cfg.is_pretty
95
96 def test_is_plain(self) -> None:
97 cfg = OutputConfig(mode=OutputMode.PLAIN)

Callers

nothing calls this directly

Calls 1

OutputConfigClass · 0.90

Tested by

no test coverage detected