Unit tests for boto3 client('bedrock-runtime')
cbishop opened this issue · comments
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.
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
Closing this due to inactivity - I'll assume it is fixed. Feel free to let us know if you have any other questions/issues though.