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

using botocore.stub.Stubber to mock AWS #16

Merged
merged 1 commit into from
Nov 7, 2021
Merged

Conversation

H4kor
Copy link
Contributor

@H4kor H4kor commented Nov 3, 2021

#13

I only converted two test cases for now.

  • fixture to mock make_client with a stubbed client
  • Using mocked return values that are closer to real data. Stubber verifies the structure (and some value constraints)

@simonw
Copy link
Owner

simonw commented Nov 7, 2021

This is great, thank you.

@simonw simonw merged commit 470177f into simonw:main Nov 7, 2021
simonw added a commit that referenced this pull request Nov 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants