-
Notifications
You must be signed in to change notification settings - Fork 148
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 test for udevadminfo actor #1186
Conversation
Thank you for contributing to the Leapp project!Please note that every PR needs to comply with the Leapp Guidelines and must pass all tests in order to be mergeable.
Packit will automatically schedule regression tests for this PR's build and latest upstream leapp build. If you need a different version of leapp, e.g. from PR#42, use It is possible to schedule specific on-demand tests as well. Currently 2 test sets are supported,
See other labels for particular jobs defined in the Please open ticket in case you experience technical problem with the CI. (RH internal only) Note: In case there are problems with tests not being triggered automatically on new PR/commit or pending for a long time, please contact leapp-infra. |
bb67bef
to
4a82445
Compare
repos/system_upgrade/common/actors/udev/udevadminfo/tests/test_udevadminfo.py
Outdated
Show resolved
Hide resolved
0a03bbe
to
c830075
Compare
repos/system_upgrade/common/actors/udev/udevadminfo/libraries/udevadminfo.py
Outdated
Show resolved
Hide resolved
repos/system_upgrade/common/actors/udev/udevadminfo/libraries/udevadminfo.py
Outdated
Show resolved
Hide resolved
repos/system_upgrade/common/actors/udev/udevadminfo/tests/test_udevadminfo.py
Show resolved
Hide resolved
repos/system_upgrade/common/actors/udev/udevadminfo/libraries/udevadminfo.py
Outdated
Show resolved
Hide resolved
repos/system_upgrade/common/actors/udev/udevadminfo/libraries/udevadminfo.py
Outdated
Show resolved
Hide resolved
* Move actor's process to its library * Add check for run in process * Create file with short output of 'udevamd info -e' for testing purposes * Add unit tests for actor Jira: OAMG-1277
ed5473d
to
090f7ee
Compare
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.
lgtm! thanks. 🎆 first one merged! - just giving it a time to finish tests that are stuck on COPR.
/packit build |
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.
lgtm!
Test if produced message has correctly parsed database exported from command 'udevamd info -e', using mocked database output in files directory.
Jira: OAMG-1277