Skip to content

Fix system tests - #1503

Merged
jacob-williamson merged 3 commits into
mainfrom
fix_system_tests_8dec
Dec 8, 2025
Merged

jacob-williamson merged 3 commits into
mainfrom
fix_system_tests_8dec

Conversation

@jacob-williamson

Copy link
Copy Markdown
Contributor

Fixes system tests. Some were rounding errors due to changing from pixels_per_micron to microns_per_pixel everywhere. The others are issues to do with having a different DCM device in the UndulatorDCM fixture to the LoadCentreCollectComposite fixture, introduced by changes to device manager (see #1459).

Instructions to reviewer on how to test:

  1. Confirm system tests pass

Checks for reviewer

  • Would the PR title make sense to a user on a set of release notes

@jacob-williamson
jacob-williamson requested a review from a team as a code owner December 8, 2025 14:04
@jacob-williamson jacob-williamson added the dev experience Changes relating to developer experience label Dec 8, 2025

@DominicOram DominicOram 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.

Thanks, one comment, take it or leave it

Comment on lines +483 to +484
"micronsPerPixelX": 0.806,
"micronsPerPixelY": 0.806,

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.

Nit: For future reference I think you can probably use pytest.approx here to avoid similar things in the future

@codecov

codecov Bot commented Dec 8, 2025 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.27%. Comparing base (f512f54) to head (121f812).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1503   +/-   ##
=======================================
  Coverage   92.27%   92.27%           
=======================================
  Files         142      142           
  Lines        8075     8075           
=======================================
  Hits         7451     7451           
  Misses        624      624           
Components Coverage Δ
i24 SSX 78.44% <ø> (ø)
hyperion 97.93% <ø> (ø)
other 98.08% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jacob-williamson
jacob-williamson enabled auto-merge (squash) December 8, 2025 14:43
@jacob-williamson
jacob-williamson merged commit e9d4c1a into main Dec 8, 2025
13 checks passed
@jacob-williamson
jacob-williamson deleted the fix_system_tests_8dec branch December 8, 2025 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dev experience Changes relating to developer experience

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants