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

feat: demonstrating testing with mocks using actual interfaces #12617

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

telpirion
Copy link
Contributor

Description

For some resource-intensive APIs, in this case Endpoint.predict() which requires a deployed endpoint, use a Mock or MagicMock to ensure that the client library interface is observed.

@telpirion telpirion requested review from a team as code owners September 20, 2024 21:18
@product-auto-label product-auto-label bot added the samples Issues that are directly related to samples. label Sep 20, 2024
@rsamborski rsamborski added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Sep 23, 2024
@telpirion
Copy link
Contributor Author

Oops! I intended to mark this as a "draft." @glasnt -- I'll follow up with you over chat about this PR; my apologies that I didn't do it sooner.

@glasnt
Copy link
Contributor

glasnt commented Oct 14, 2024

friendly ping: any updates on this PR? or will it be re-created

@telpirion telpirion marked this pull request as draft October 14, 2024 17:54
@telpirion
Copy link
Contributor Author

Converting this to draft; will follow up directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do not merge Indicates a pull request not ready for merge, due to either quality or timing. samples Issues that are directly related to samples.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants