Skip to content

tests: split out ELF OS detection fixtures into their own JSON#3103

Merged
williballenthin merged 1 commit into
masterfrom
wb/elf-os-detection-json-fixtures
Jun 11, 2026
Merged

tests: split out ELF OS detection fixtures into their own JSON#3103
williballenthin merged 1 commit into
masterfrom
wb/elf-os-detection-json-fixtures

Conversation

@williballenthin

Copy link
Copy Markdown
Collaborator

to make it easier for other projects to consume the ELF OS detection fixtures

Checklist

  • No CHANGELOG update needed
  • No new tests needed
  • No documentation update needed
  • This submission includes AI-generated code and I have provided details in the description.

@williballenthin williballenthin requested a review from mr-tz June 11, 2026 09:52

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request refactors the ELF OS detection tests by moving the hardcoded JSON test fixtures from tests/test_elf_os_detection.py into a dedicated external JSON file at tests/fixtures/elf/os-detection.json. The test file now loads these fixtures dynamically. This change improves code readability and maintainability. No review comments were provided, and there is no additional feedback.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@mr-tz mr-tz left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great

@williballenthin williballenthin merged commit 0fba3e5 into master Jun 11, 2026
42 of 43 checks passed
@williballenthin williballenthin deleted the wb/elf-os-detection-json-fixtures branch June 11, 2026 11:41
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.

2 participants