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

codecoverage bug2173870 #14273

Merged
merged 16 commits into from
May 16, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions robottelo/utils/virtwho.py
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ def vw_fake_conf_create(
:param fake_conf_file: Name of the fake_conf_file
:param json_file: Name of the json_file
:param is_hypervisor: Default ir True
:ruturn:
:ruturn:
yanpliu marked this conversation as resolved.
Show resolved Hide resolved
"""
conf_name = fake_conf_file.split("/")[-1].split(".")[0]
Gauravtalreja1 marked this conversation as resolved.
Show resolved Hide resolved
file = f'{fake_conf_file}\n'
Expand All @@ -602,14 +602,8 @@ def vw_fake_conf_create(

def vw_run_option(option):
"""virt who run by option
:param option:
-d, --debug Enable debugging output
-o, --one-shot Send the list of guest IDs and exit immediately
-i INTERVAL, --interval INTERVAL
-p, --print
-c CONFIGS, --config CONFIGS
--version Display the version information
:ruturn:
:param option: -d, --debug -o, --one-shot -i INTERVAL, --interval INTERVAL -p, --print -c CONFIGS, --config CONFIGS --version
:ruturn:
"""
runcmd('systemctl stop virt-who')
runcmd('pkill -9 virt-who')
Expand Down