Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add unit tests #6

Merged
merged 7 commits into from
Feb 5, 2024
Merged

Add unit tests #6

merged 7 commits into from
Feb 5, 2024

Conversation

mtagle
Copy link
Contributor

@mtagle mtagle commented Feb 1, 2024

add unit tests and do some small cleanup.

Why?

Tests will make it easier to ensure we don't introduce regressions when making changes.

Review Notes

We probably want to introduce integration tests eventually, but I did not write any here.

@mtagle mtagle changed the title Add tests Add unit tests Feb 3, 2024
@mtagle mtagle requested review from tmarshall and j-bennet February 3, 2024 00:26
@mtagle mtagle marked this pull request as ready for review February 3, 2024 00:26
],
)
def test_check_pass_fail_operator(mocker, results, must_pass, expect_passes):
print(results)
Copy link

Choose a reason for hiding this comment

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

Leftover from debugging?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

whoops, yes, nice catch!

@mtagle mtagle merged commit adf6781 into main Feb 5, 2024
1 check passed
@mtagle mtagle deleted the moira-dp-438 branch February 5, 2024 17:36
@mtagle mtagle restored the moira-dp-438 branch March 6, 2024 21:17
jcstsai added a commit that referenced this pull request Sep 25, 2024
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.

4 participants