MCPcopy Create free account
hub / github.com/Codeplain-ai/codeplain / test_small_progress

Method test_small_progress

tests/test_cli_output.py:35–40  ·  view source on GitHub ↗

Test progress bar with small percentage.

(self)

Source from the content-addressed store, hash-verified

33 assert len(bar) == 30
34
35 def test_small_progress(self):
36 """Test progress bar with small percentage."""
37 bar = _create_progress_bar(4, 50, width=30)
38 assert bar.startswith("██")
39 assert bar.endswith("░")
40 assert len(bar) == 30
41
42 def test_zero_total(self):
43 """Test progress bar with zero total (edge case)."""

Callers

nothing calls this directly

Calls 1

_create_progress_barFunction · 0.90

Tested by

no test coverage detected