-
Notifications
You must be signed in to change notification settings - Fork 17
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
Allow openstack esi node list to filter based on resource_class, owner, and lessee #155
Conversation
23a3db9
to
c2ac65a
Compare
@tzumainn updated the code with the changes. |
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.
It's close, but missing a little!
Are you writing a python script to test locally? A script that creates an ironic client and passes things in?
@tzumainn I attempted to address the issue locally after installing the ironic-client, but encountered some problems. I will try again if necessary. |
@tzumainn I tested the script with ironic-client it's working fine. |
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.
One comment in-line. Can you also add unit tests? Thanks!
@tzumainn Once the code looks good, I will add the unit-test. |
0d5f7e9
to
09debe6
Compare
Can you rebase this commit to make it a single commit (and get rid of the merge commit)? |
|
||
@mock.patch('esi_leap.common.ironic.get_node_list') | ||
@mock.patch('esi_leap.common.keystone.get_project_list') | ||
def test_get_resource_class_filter(self, mock_gpl, mock_gnl): |
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.
Can you rename this to test_get_all_resource_class_filter
?
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.
Sure I will do this.
Yep - you want to squash your commits:
https://stackoverflow.com/questions/5189560/how-do-i-squash-my-last-n-commits-together
…On Wed, May 22, 2024 at 9:56 AM Surbhi Kanthed ***@***.***> wrote:
@tzumainn <https://github.com/tzumainn> while merging can you combine
commits into one and merge?
—
Reply to this email directly, view it on GitHub
<#155 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJYRMRE5IEU4XCEEUKOW73ZDSPZ5AVCNFSM6AAAAABHWEXB5SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRUHA3DKOBUHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
bb6480b
to
a9349f9
Compare
Due to merge conflict closing this and addressing it in #156 |
No description provided.