Skip to content

Tests: local HCAT fixtures and command-module smoke test - #329

Merged
m-mohr merged 1 commit into
mainfrom
test-wiring
Sep 25, 2026
Merged

m-mohr merged 1 commit into
mainfrom
test-wiring

Conversation

@ivorbosloper

@ivorbosloper ivorbosloper commented Sep 24, 2026 •

Copy link
Copy Markdown
Collaborator

Adds local HCAT mapping fixtures for four converters so their tests no longer fetch the mapping online, plus a smoke test for the command wrapper modules.

🤖 Generated with Claude Code

@ivorbosloper
ivorbosloper marked this pull request as ready for review September 24, 2026 20:29
@ivorbosloper
ivorbosloper requested a review from m-mohr September 24, 2026 20:29
@ivorbosloper ivorbosloper changed the title Tests: read HCAT mappings locally, and convert the PT 2023 edition Tests: read HCAT mappings locally Sep 24, 2026
…e smoke test

The test loader patch that reads these fixtures landed with #320.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ivorbosloper ivorbosloper changed the title Tests: read HCAT mappings locally Tests: local HCAT fixtures and command-module smoke test Sep 25, 2026
@m-mohr
m-mohr requested a lite review from Copilot September 25, 2026 11:05

Copilot AI 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.

Copilot review overview

🔵 Needs a closer look

The registry smoke test does not cover all 13 registered commands.

Review effort: Lite
Findings: None

What changed in this PR

Adds local HCAT mapping fixtures for four converters and smoke tests for command modules and registry setup.

Changes:

  • Adds Ireland, Italy, Sweden, and California mapping fixtures.
  • Adds command import and registry smoke tests.
  • Ignores build/ artifacts.
  • Registry coverage should include all 13 registered commands.
File Summary
tests/​test_command_modules.py Tests command imports and registry registration; coverage currently includes only four of 13 commands.
tests/​data-files/​convert/​us_ca_scm/​scm.csv Adds California HCAT mapping fixture.
tests/​data-files/​convert/​se/​se.csv Adds Sweden HCAT mapping fixture.
tests/​data-files/​convert/​it_1/​iti1.csv Adds Italy HCAT mapping fixture.
tests/​data-files/​convert/​ie/​ie.csv Adds Ireland HCAT mapping fixture.
.gitignore Ignores build/ artifacts.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@m-mohr
m-mohr merged commit fe53f0d into main Sep 25, 2026
8 checks passed
@m-mohr
m-mohr deleted the test-wiring branch September 25, 2026 11:15
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.

3 participants