MCPcopy Create free account
hub / github.com/IBM/mcp-cli / test_bytes

Method test_bytes

tests/commands/test_utils.py:192–194  ·  view source on GitHub ↗

Test size in bytes.

(self)

Source from the content-addressed store, hash-verified

190 assert human_size(-100) == "-"
191
192 def test_bytes(self):
193 """Test size in bytes."""
194 assert human_size(500) == "500 B"
195
196 def test_kilobytes(self):
197 """Test size in kilobytes."""

Callers

nothing calls this directly

Calls 1

human_sizeFunction · 0.90

Tested by

no test coverage detected