Follow-up to f007db4: 3 wrapper tests (test_frequency_node /
test_mask_refiner_node / test_smoother_node) still asserted the pre-Q-NS
CATEGORY strings and failed against the new namespace. Update assertions
to match ComfyUI-JH-PixelPro/* so pytest stays zero-regression.
Note: tag v0.3.0 already points at 8bec209 (pre-fix). Fix is cosmetic
test-only and does not affect pack runtime behavior. Re-tag decision
deferred to Cowork review.
Register class in NODE_CLASS_MAPPINGS with display name
"GPU Frequency Separation (Kornia)" (category image/pixelpro/filters).
Handles BHWC <-> BCHW conversion at the integration boundary, wraps core
call in torch.no_grad(), preserves device and dtype. Tooltip warns that
the high-pin may contain negative values and should be recombined via
ImageAdd rather than previewed directly.
Integration tests load the pack the same way ComfyUI does (spec_from_
file_location) so no ComfyUI runtime is required — covers INPUT_TYPES
schema, reconstruction invariant on BHWC, reject-invalid-input, dtype/
device preservation (11 tests pass).
Pack __init__.py guards the submodule import with `if __package__:` so
pytest collection can still walk the hyphenated-dir parent without
crashing. pyproject adds `--import-mode=importlib` for robustness.