Files
ComfyUI/tests-unit
Simon Pinfold 000884f0b6 Give the whitespace vocabulary cases a reference each
Both positions shared one reference, and the first case removed the stale tag,
so the second asserted on a tag that was already gone and passed whether or not
trailing whitespace was handled. The test advertised two cases and exercised
one, which is worse than covering one honestly: it told the next reader that
trailing whitespace was covered.

Parametrized, so each case gets its own reference and its own fixtures.
Stripping only one end now fails only the matching case -- lstrip fails
trailing, rstrip fails leading -- where before either passed.
2026-08-18 12:39:53 -07:00
..

Pytest Unit Tests

Install test dependencies

pip install -r tests-unit/requirements.txt

Run tests

pytest tests-unit/