Skip to content

Test errors for kernels and packet layouts - #219

Merged
namurphy merged 2 commits into
PlasmaPy:mainfrom
namurphy:test-kernel-and-layout-errors
Dec 1, 2026
Merged

namurphy merged 2 commits into
PlasmaPy:mainfrom
namurphy:test-kernel-and-layout-errors

Conversation

@namurphy

@namurphy namurphy commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

Description

This PR adds tests of the errors for SPICE kernels and packet layouts in the decommutator, and removes the tasks from TODO.md.

Motivation

These errors were not tested.

Details

  • Kernels: none found, cannot be loaded, and choosing both or neither.
  • _get_layout: a line that cannot be parsed, an unknown APID, and a missing sweap_tlm.blk.
  • The first commit passed nox -s tests-3.13 tests-3.14, type checking, and linting. After main was merged to resolve conflicts in TODO.md, the two changed test files were run with Python 3.13 and 3.14, along with type checking and linting, and all passed.

🤖 Generated with Claude Code

Cover _get_newest_kernel, _get_layout, and kernels that are missing or
cannot be loaded.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.00%. Comparing base (c4a887b) to head (f0b7d96).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #219      +/-   ##
==========================================
+ Coverage   91.53%   92.00%   +0.46%     
==========================================
  Files          57       57              
  Lines        4313     4313              
  Branches      427      427              
==========================================
+ Hits         3948     3968      +20     
+ Misses        295      277      -18     
+ Partials       70       68       -2     

see 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Keep the removals from both sides of the decommutator TODO.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@namurphy
namurphy merged commit 2a27c8e into PlasmaPy:main Dec 1, 2026
13 checks passed
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