earn the White PyBites Ninja earn the Yellow PyBites Ninja earn the Orange PyBites Ninja right arrow earn more PyBites Ninja belts and certificates
The best way to learn to code in Python is to actually use the language.

Our platform offers effective Test Driven Learning which will be key to your progress.


Join thousands of Pythonistas and start coding!


Join us on our PyBites Platform
Click here to code!

How to Cleanup S3 Objects and Unittest it

Posted by Giuseppe Cunsolo on Mon 02 September 2019 in Testing • Tagged with AWS, S3, freezegun, moto, boto3, testing, APIs, paginator, mock • 2 min read

In this guest post Giuseppe shares what he learned having to cleanup a large number of objects in an S3 bucket. He introduces us to some boto3 as well as moto and freezegun he used to test his code. Enter Giuseppe ...


Continue reading