-
Notifications
You must be signed in to change notification settings - Fork 192
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 flagg limit_output for modules update #3047
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you write a quick test for this as well?
d859c09
to
8e782fa
Compare
@nf-core-bot fix linting please! |
sorry for messing with your code. I thought I would just polish it a bit, but seems like I created a bit of a mess. working on it. |
No worries, was procastenating as the testing part was still a bit unclear on how I should approach it so feel free to finish it 😄 |
… into add-flag-update-modules
…t have)), fix typo
@nf-core-bot fix linting |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this PR! LGTM :)
I have modified the tests a little bit to reduce the code.
- Using the
caplog
pytest fixture to capture the log messages - Removing checks that are covered by other tests, such as assessing if a module was properly updated
- Since we know which files are modified when we update the modules and subworkflows, we can assess for the specific logging messages directly.
PR checklist
Fixes #3045
CHANGELOG.md
is updateddocs
is updated