-
Notifications
You must be signed in to change notification settings - Fork 114
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
code coverage bug2063218 #14308
code coverage bug2063218 #14308
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.
I tried to rephrase the comments and docstring because I had a hard time understanding them. Please correct me if my edits are factually incorrect.
Co-authored-by: Lukáš Hellebrandt <[email protected]>
Co-authored-by: Lukáš Hellebrandt <[email protected]>
Co-authored-by: Lukáš Hellebrandt <[email protected]>
Co-authored-by: Lukáš Hellebrandt <[email protected]>
Co-authored-by: Lukáš Hellebrandt <[email protected]>
Co-authored-by: Lukáš Hellebrandt <[email protected]>
Co-authored-by: Lukáš Hellebrandt <[email protected]>
Co-authored-by: Lukáš Hellebrandt <[email protected]>
|
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 much better now, thanks!
f"Authenticating with RHSM username {rhsm_username[0]}", | ||
f"Authenticating with RHSM username {rhsm_username[2]}", | ||
f"Host-to-guest mapping being sent to '{module_sca_manifest_org.name}'", |
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, this used double quotes , it is because there is single quotes in the string, so used double quotes.
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.
@yanpliu yes, but we can switch it with single quotes with double quotes inside, but I wouldn't block this PR merge for it
Co-authored-by: Gaurav Talreja <[email protected]>
Co-authored-by: Gaurav Talreja <[email protected]>
Co-authored-by: Gaurav Talreja <[email protected]>
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.
I am good with framework changes.
* code coverage bug2063218 * update loop&check message&duplicated code etc * Update the descriptions for expectresults * Update tests/foreman/virtwho/cli/test_esx_sca.py Co-authored-by: Lukáš Hellebrandt <[email protected]> * Update tests/foreman/virtwho/cli/test_esx_sca.py Co-authored-by: Lukáš Hellebrandt <[email protected]> * Update tests/foreman/virtwho/cli/test_esx_sca.py Co-authored-by: Lukáš Hellebrandt <[email protected]> * Update tests/foreman/virtwho/cli/test_esx_sca.py Co-authored-by: Lukáš Hellebrandt <[email protected]> * Update tests/foreman/virtwho/cli/test_esx_sca.py Co-authored-by: Lukáš Hellebrandt <[email protected]> * Update tests/foreman/virtwho/cli/test_esx_sca.py Co-authored-by: Lukáš Hellebrandt <[email protected]> * Update tests/foreman/virtwho/cli/test_esx_sca.py Co-authored-by: Lukáš Hellebrandt <[email protected]> * Update tests/foreman/virtwho/cli/test_esx_sca.py Co-authored-by: Lukáš Hellebrandt <[email protected]> * update code to fix repeating anti-pattern * Update the comments * Update robottelo/utils/virtwho.py Co-authored-by: Gaurav Talreja <[email protected]> * Update tests/foreman/virtwho/cli/test_esx_sca.py Co-authored-by: Gaurav Talreja <[email protected]> * Update tests/foreman/virtwho/cli/test_esx_sca.py Co-authored-by: Gaurav Talreja <[email protected]> --------- Co-authored-by: Lukáš Hellebrandt <[email protected]> Co-authored-by: Gaurav Talreja <[email protected]> (cherry picked from commit cc3c119)
code coverage bug2063218 (#14308) * code coverage bug2063218 * update loop&check message&duplicated code etc * Update the descriptions for expectresults * Update tests/foreman/virtwho/cli/test_esx_sca.py Co-authored-by: Lukáš Hellebrandt <[email protected]> * Update tests/foreman/virtwho/cli/test_esx_sca.py Co-authored-by: Lukáš Hellebrandt <[email protected]> * Update tests/foreman/virtwho/cli/test_esx_sca.py Co-authored-by: Lukáš Hellebrandt <[email protected]> * Update tests/foreman/virtwho/cli/test_esx_sca.py Co-authored-by: Lukáš Hellebrandt <[email protected]> * Update tests/foreman/virtwho/cli/test_esx_sca.py Co-authored-by: Lukáš Hellebrandt <[email protected]> * Update tests/foreman/virtwho/cli/test_esx_sca.py Co-authored-by: Lukáš Hellebrandt <[email protected]> * Update tests/foreman/virtwho/cli/test_esx_sca.py Co-authored-by: Lukáš Hellebrandt <[email protected]> * Update tests/foreman/virtwho/cli/test_esx_sca.py Co-authored-by: Lukáš Hellebrandt <[email protected]> * update code to fix repeating anti-pattern * Update the comments * Update robottelo/utils/virtwho.py Co-authored-by: Gaurav Talreja <[email protected]> * Update tests/foreman/virtwho/cli/test_esx_sca.py Co-authored-by: Gaurav Talreja <[email protected]> * Update tests/foreman/virtwho/cli/test_esx_sca.py Co-authored-by: Gaurav Talreja <[email protected]> --------- Co-authored-by: Lukáš Hellebrandt <[email protected]> Co-authored-by: Gaurav Talreja <[email protected]> (cherry picked from commit cc3c119) Co-authored-by: yanpliu <[email protected]>
* code coverage bug2063218 * update loop&check message&duplicated code etc * Update the descriptions for expectresults * Update tests/foreman/virtwho/cli/test_esx_sca.py Co-authored-by: Lukáš Hellebrandt <[email protected]> * Update tests/foreman/virtwho/cli/test_esx_sca.py Co-authored-by: Lukáš Hellebrandt <[email protected]> * Update tests/foreman/virtwho/cli/test_esx_sca.py Co-authored-by: Lukáš Hellebrandt <[email protected]> * Update tests/foreman/virtwho/cli/test_esx_sca.py Co-authored-by: Lukáš Hellebrandt <[email protected]> * Update tests/foreman/virtwho/cli/test_esx_sca.py Co-authored-by: Lukáš Hellebrandt <[email protected]> * Update tests/foreman/virtwho/cli/test_esx_sca.py Co-authored-by: Lukáš Hellebrandt <[email protected]> * Update tests/foreman/virtwho/cli/test_esx_sca.py Co-authored-by: Lukáš Hellebrandt <[email protected]> * Update tests/foreman/virtwho/cli/test_esx_sca.py Co-authored-by: Lukáš Hellebrandt <[email protected]> * update code to fix repeating anti-pattern * Update the comments * Update robottelo/utils/virtwho.py Co-authored-by: Gaurav Talreja <[email protected]> * Update tests/foreman/virtwho/cli/test_esx_sca.py Co-authored-by: Gaurav Talreja <[email protected]> * Update tests/foreman/virtwho/cli/test_esx_sca.py Co-authored-by: Gaurav Talreja <[email protected]> --------- Co-authored-by: Lukáš Hellebrandt <[email protected]> Co-authored-by: Gaurav Talreja <[email protected]>
Code coverage bug2063218, it is a new [RFE]
Test case : PASS