Skip to content

Revert "test: record golden fixtures for today's detector API (#127)" - #183

Merged
hslev merged 1 commit into
stateless_corefrom
revert-182-127-record-golden-fixtures-for-todays-detector-api
Nov 5, 2026
Merged

hslev merged 1 commit into
stateless_corefrom
revert-182-127-record-golden-fixtures-for-todays-detector-api

Conversation

@hslev

@hslev hslev commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Reverts #182 (merge commit 52bad80) so independent issues can branch from a clean stateless_core.

#182 added golden fixtures for the detector API: tests and fixtures only, no production code. This revert removes:

  • tests/golden.py
  • tests/test_golden_*_pytest.py (4 files)
  • tests/fixtures/golden/*.json (56 files)

Why

Follow-up

The fixtures are still wanted (#127–#131). After this revert merges, they come back through a new PR from 127-record-golden-fixtures-for-todays-detector-api.

#127–#131 stay open.

Type of change

  • Bug fix
  • Feature
  • Documentation
  • Tests
  • Refactor or maintenance

Testing

  • ruff format --check lettucedetect/ lettucedetect_api/ tests/
  • ruff check lettucedetect/ lettucedetect_api/ tests/ --extend-exclude lettucedetect/integrations/
  • uv run --extra dev pytest

Checklist

  • I kept the PR focused on one change.
  • I added or updated tests/docs when needed.
  • I checked that no secrets, API keys, or credentials are included.

Rights & sign-off (required)

  • I certify that I have the right to submit this code and that it may be
    distributed under the repository's MIT license
    (see CONTRIBUTING).

@hslev
hslev merged commit 2bda4cb into stateless_core Nov 5, 2026
5 of 6 checks passed
@hslev
hslev deleted the revert-182-127-record-golden-fixtures-for-todays-detector-api branch November 5, 2026 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant