Skip to content

Update unit tests to use pyepics.exceptions instead of Python exceptions - #12

Merged
melekderman merged 7 commits into
melekderman:devfrom
hansenkyle:exception_tests
Nov 4, 2026
Merged

melekderman merged 7 commits into
melekderman:devfrom
hansenkyle:exception_tests

Conversation

@hansenkyle

Copy link
Copy Markdown
Collaborator

Several unit tests were expecting python exception types, but they got the custom PyEPICS exception types. I've updated these tests to expect the new types. Note that there is still one failing unit test (mcdc_gpf.test_synthetic_model_output_schema) for an unrelated reason so I left this one alone.

@hansenkyle

Copy link
Copy Markdown
Collaborator Author

@melekderman I'm unable to request you for review through the github interface (repo permissions), so I'll just ping you here. Thank you!

@melekderman

melekderman commented Nov 4, 2026 •

Copy link
Copy Markdown
Owner

@hansenkyle, thanks for catching and fixing this! I just realized we actually do not have a workflow set up for unit tests for PR. :) I will go ahead and fix it so we can run the tests and get this merged.

@melekderman
melekderman self-requested a review November 4, 2026 23:19

@melekderman melekderman left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Thanks to this PR #12, we also caught other issues that were missed because the tests were turned off for PRs and pushes to dev. Thanks, @hansenkyle!

@melekderman
melekderman merged commit 500a23a into melekderman:dev Nov 4, 2026
8 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.

2 participants