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

Added lanchain provider tests #1062

Merged
merged 2 commits into from
Apr 17, 2024
Merged

Conversation

arn-tru
Copy link
Contributor

@arn-tru arn-tru commented Apr 8, 2024

Added Test cases for Langchain provider feedback functions

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Apr 8, 2024
@arn-tru arn-tru changed the title Draft: Added lanchain provider tests [Draft] Added lanchain provider tests Apr 8, 2024
@arn-tru arn-tru changed the title [Draft] Added lanchain provider tests Added lanchain provider tests Apr 8, 2024
except AssertionError:
failed_subtests.append((subtest_name, actual, expected))

if failed_tests() > 0:
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure if you need to do this yourself as I think unittest will give you a summary of failures, even with subtests.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have seen other tests using this approach. So I maintained the same pattern.

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Apr 16, 2024
@arn-tru arn-tru merged commit 5644b1a into main Apr 17, 2024
9 checks passed
sfc-gh-dhuang pushed a commit that referenced this pull request Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm This PR has been approved by a maintainer size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants