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

Refactor SLURM user global defaults for test #352

Merged
merged 1 commit into from
Jun 11, 2024
Merged

Conversation

ashiklom
Copy link
Collaborator

Use a mock (https://docs.python.org/3/library/unittest.mock.html) to "fake" the behavior of the new global user defaults funciton in unit tests to always produce consistent behavior.

Closes #351.

Use a mock (https://docs.python.org/3/library/unittest.mock.html) to
"fake" the behavior of the new global user defaults funciton in unit
tests to always produce consistent behavior.

Closes #351.
@Dooruk Dooruk self-requested a review June 11, 2024 14:58
Copy link
Collaborator

@Dooruk Dooruk left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

@Dooruk Dooruk merged commit 25f1ef3 into develop Jun 11, 2024
11 checks passed
@Dooruk Dooruk deleted the bugfix/issue-351 branch June 12, 2024 17:35
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.

SE: Minor code tests bug with SLURM config
2 participants