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

Fixes #30339 - isolate LookupKey tests #7808

Merged
merged 1 commit into from Jul 30, 2020

Conversation

ezr-ondrej
Copy link
Member

Gets rid of the PuppetclassLookupKey dependency for testing a LookupKey.
Removes some tests as they are irrelevant to LookupKey itself.

test/unit/host_info_providers/puppet_info_test.rb Outdated Show resolved Hide resolved
test/unit/host_info_providers/puppet_info_test.rb Outdated Show resolved Hide resolved
test/unit/host_info_providers/puppet_info_test.rb Outdated Show resolved Hide resolved
test/models/lookup_key_test.rb Outdated Show resolved Hide resolved
@theforeman-bot
Copy link
Member

Issues: #30339

@ezr-ondrej
Copy link
Member Author

[test foreman]

Copy link
Member

@kgaikwad kgaikwad left a comment

Choose a reason for hiding this comment

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

@ezr-ondrej, added two small inline comments.

test/models/lookup_key_test.rb Outdated Show resolved Hide resolved
test/models/lookup_keys/puppetclass_lookup_key_test.rb Outdated Show resolved Hide resolved
@ezr-ondrej
Copy link
Member Author

Right, thanks @kgaikwad ! I've accepted your suggestions :) 👍

Copy link
Member

@kgaikwad kgaikwad left a comment

Choose a reason for hiding this comment

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

Codewise looks good to me 👍
I guess failing katello test is irrelevant to pull-request changes.

@shiramax, do you have any additional comments?

Copy link
Contributor

@shiramax shiramax left a comment

Choose a reason for hiding this comment

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

@ezr-ondrej looks good!

@shiramax
Copy link
Contributor

thanks @ezr-ondrej and @kgaikwad for the review :)

@shiramax shiramax merged commit c4c097f into theforeman:develop Jul 30, 2020
@ezr-ondrej ezr-ondrej deleted the isolate_lookup_key_test branch July 30, 2020 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants