MCPcopy Create free account
hub / github.com/MiniMax-AI/Mini-Agent / test_invalid_align

Method test_invalid_align

tests/test_terminal_utils.py:164–167  ·  view source on GitHub ↗

Test invalid alignment value.

(self)

Source from the content-addressed store, hash-verified

162 assert result == "Hello World" # No truncation, just return as-is
163
164 def test_invalid_align(self):
165 """Test invalid alignment value."""
166 with pytest.raises(ValueError, match="Invalid align value"):
167 pad_to_width("Test", 10, align="invalid")
168
169 def test_custom_fill_char(self):
170 """Test custom fill character."""

Callers

nothing calls this directly

Calls 1

pad_to_widthFunction · 0.90

Tested by

no test coverage detected