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

Unit tests for boto3 client('bedrock-runtime') #7691

Open
cbishop opened this issue May 13, 2024 · 1 comment
Open

Unit tests for boto3 client('bedrock-runtime') #7691

cbishop opened this issue May 13, 2024 · 1 comment
Labels

Comments

@cbishop
Copy link

cbishop commented May 13, 2024

I am writing unit tests for a variety of AWS services and have found moto to be very useful.

Unfortunately, I'm stuck on testing boto3 with a bedrock-runtime client.

Ideally, you would add support for this client, but I know you have many requests and it would take some time.

Any advice on the best way to unit tests boto3 and bedrock-runtime? I need to simulate invoking an AI Large Language Model with Bedrock.

@bblommers
Copy link
Collaborator

Hi @cbishop, you could patch boto3 itself, before it even reaches Moto?

See our docs here: http://docs.getmoto.org/en/latest/docs/services/patching_other_services.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants