Skip to content

[CHORE] Rename claheImage to ClaheImage and fix pytest test discovery #280

@alikhere

Description

@alikhere

Description:

Two related naming problems in the CLAHE code. First, the class claheImage violates the PascalCase convention used by every other operator (GrayImage, ColorMaps, BgrToHsv etc) — rename it to ClaheImage in the class definition, registry import, and any test references. Second, tests/operators/conversion/clahe.py is never picked up by pytest because it lacks the test_ prefix and there is no tests/operators/conversion/__init__.py — rename it to test_clahe.py and add the missing __init__.py.

Acceptance criteria:

  • Class renamed to ClaheImage everywhere
  • Registry imports updated
  • File renamed to test_clahe.py
  • tests/operators/conversion/__init__.py added
  • uv run pytest discovers and passes all CLAHE tests

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions