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

Fix CLI tests to allow for new config data #149

Merged
merged 1 commit into from
Feb 20, 2018
Merged

Conversation

kdelee
Copy link
Contributor

@kdelee kdelee commented Feb 20, 2018

Updated rho tests to use the same config file format as quipucords, but forgot
to update qpc CLI tests to not use an extra field created to guard rho tests
from using some credentials.

@kdelee kdelee requested a review from elyezer February 20, 2018 16:53
Copy link
Contributor

@elyezer elyezer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -47,6 +47,9 @@ def cred_add(options, inputs=None, exitstatus=0):
"""
if 'type' not in options:
options['type'] = 'network'
if options.get('rho'):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be a oneliner: options.pop('rho', None)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah cool I'll do that

@coveralls
Copy link

Coverage Status

Coverage remained the same at 69.565% when pulling d8a495d on kdelee/fix-cred-add into 49e0295 on master.

@coveralls
Copy link

coveralls commented Feb 20, 2018

Coverage Status

Coverage remained the same at 69.565% when pulling 3858de1 on kdelee/fix-cred-add into 49e0295 on master.

Updated rho tests to use the same config file format as quipucords, but forgot
to update qpc CLI tests to not use an extra field created to guard rho tests
from using some credentials.
@kdelee kdelee merged commit 834ebf6 into master Feb 20, 2018
@kdelee kdelee deleted the kdelee/fix-cred-add branch February 20, 2018 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants