-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
moto mocking not working. #1815
Comments
|
Please see the above code, I am trying to insert a record into the table and then call a function that would verify if the specified id is already present in the table. Here, I get an error table already exists when I run this code. If I disable the network, I get an error I fail to understand why there is an attempt to connect to aws if we are trying to mock. |
Hi, The issue was due to a newer issue of botocore. See #1793 This was fixed by downgrading botocore to 1.10.84 Thanks! |
Hello,
I am trying to write tests for a serverless application. I am using serverless framework. I am facing a weird issue. Whenever I try to mock s3 or dynamodb using moto, it does not work. Instead of mocking, the boto3 call actually goes to my aws account and tries to do things there.
This is not desirable behaviour. Could you please help?
The text was updated successfully, but these errors were encountered: