Welcome to Hell Cue the theme song from The Fresh Prince of Bel Air. This is a story that turns out well. But my code got stuck in import hell. I tried to teach my students all about pytest. Instead, for two days, I was sent on a debugging quest. I teach middle school students… Continue reading Stuck in import hell? Walk your way out.
Articles on mocking
Building a 500 line API regression test suite
By Bob Belderbos on 15 December 2022
This article appeared as a Pybites email first. If you like it consider joining our friends list for weekly Python, developer and (!) mindset content … Last year I built a cool API to post code images using our pybites-carbon tool. It will store the tip code in a database and store the code image in an… Continue reading Building a 500 line API regression test suite
Fast Emoji Lookup from the Command Line
By Bob Belderbos on 7 May 2021
Today I wanted to share a little app I built the other day to search emojis from the command line.
Freezegun – Real Joy for Fake Dates in Python
By AJ Kerrigan on 14 August 2020
Freezegun is a library for mocking Python datetimes. It does one thing, does it well, and lets you get on with your life.