-
Notifications
You must be signed in to change notification settings - Fork 115
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
codecoverage bug2173870 #14273
codecoverage bug2173870 #14273
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.
Looks good, needs some fixes
7cb9861
to
a749141
Compare
8d035be
to
28a6326
Compare
92b3a20
to
d4173cd
Compare
robottelo/utils/virtwho.py
Outdated
runcmd("systemctl stop virt-who") | ||
runcmd("pkill -9 virt-who") | ||
runcmd(f"virt-who -{option}") |
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.
Please use single quotes wherever possible, to ensure consistency :)
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.
@Gauravtalreja1 Thank you very much for your suggestion, have already updated
Co-authored-by: Gaurav Talreja <[email protected]>
pre-commit.ci autofix |
for more information, see https://pre-commit.ci
* codecoverage bug2173870 * update the code for f-format and comments * fix conflict and format issue * update to fix conflict * update to fix conflict * use nested list comprehensions to replace loop * replace double quotes with single quotes * remove the duplicated \n * Add the description of the methods * Update the pre-commit for description * Update robottelo/utils/virtwho.py Co-authored-by: Gaurav Talreja <[email protected]> * resolve conflict * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: Gaurav Talreja <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> (cherry picked from commit c58fe8e)
codecoverage bug2173870 (#14273) * codecoverage bug2173870 * update the code for f-format and comments * fix conflict and format issue * update to fix conflict * update to fix conflict * use nested list comprehensions to replace loop * replace double quotes with single quotes * remove the duplicated \n * Add the description of the methods * Update the pre-commit for description * Update robottelo/utils/virtwho.py Co-authored-by: Gaurav Talreja <[email protected]> * resolve conflict * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: Gaurav Talreja <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> (cherry picked from commit c58fe8e) Co-authored-by: yanpliu <[email protected]>
* codecoverage bug2173870 * update the code for f-format and comments * fix conflict and format issue * update to fix conflict * update to fix conflict * use nested list comprehensions to replace loop * replace double quotes with single quotes * remove the duplicated \n * Add the description of the methods * Update the pre-commit for description * Update robottelo/utils/virtwho.py Co-authored-by: Gaurav Talreja <[email protected]> * resolve conflict * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: Gaurav Talreja <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Code coverage Bug2173870
Test Case : PASS