-
Notifications
You must be signed in to change notification settings - Fork 52
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
TST Refactor test fixture to be more atomic #175
TST Refactor test fixture to be more atomic #175
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.
This looks very neat & clean, thank you ❤️🙂
This is not obligatory but can you check if anything else could be refactored in the main tests, given that we have new fixtures?
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 very good, thanks. @merveenoyan can you confirm that this simplifies the code for your initial concern?
Thanks ❤️ 😄 I can definitely do that, I'll add another commit to this later today to refactor places that can now use these fixtures |
Updated the skops test that I think @merveenoyan was talking about in the original issue, all now use the fixtures so there's minimal set up in the tests themselves :) |
@BenjaminBossan yes it does! |
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.
Overall looks very good to me! @BenjaminBossan can you merge if you approve too?
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.
otherwise LGTM
…s into Refactor-fixture-to-be-atomic
Small PR to split the responsibilities of the
model_card_metadata_from_config
fixture to be more atomic, with fixtures thatNotes:
load_iris
in each fixture.Should resolve #166