A pytest fixture for image similarity
When testing codepaths that generate images, one might want to ensure that the generated image is what is expected. Matplotlib has a nice decorator @image_comparison that can be applied for this purpo...
When testing codepaths that generate images, one might want to ensure that the generated image is what is expected. Matplotlib has a nice decorator @image_comparison that can be applied for this purpo...
I've noticed a common area of misunderstanding for people newer to Python testing is _how_ to apply mock.patch and _where_ to patch (i.e. what the target positional argument to unittest.mock.patch sho...
The CBC padding oracle attack demonstrates how what might initially seem like a small issue can balloon into a devastating attack that can result in total reconstruction of the plaintext by the attack...
Recently I wanted to generate UML (Unified Modeling Language) diagrams of the structure of an existing codebase for the purpose of having an architecture discussion.
I recently decided to try my hand at making YouTube videos. I'm planning on mostly making videos about topics I commonly find myself explaining to people, so here's the first, on using pdb, the built-...