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

Method test_zero_total

tests/test_cli_output.py:42–46  ·  view source on GitHub ↗

Test progress bar with zero total (edge case).

(self)

Source from the content-addressed store, hash-verified

40 assert len(bar) == 30
41
42 def test_zero_total(self):
43 """Test progress bar with zero total (edge case)."""
44 bar = _create_progress_bar(0, 0, width=30)
45 assert bar == "░" * 30
46 assert len(bar) == 30
47
48 def test_custom_width(self):
49 """Test progress bar with custom width."""

Callers

nothing calls this directly

Calls 1

_create_progress_barFunction · 0.90

Tested by

no test coverage detected