Dmitry Doroshev

Dmitry Doroshev @pomidoroshev

Joined:
Sep 7, 2021

Dmitry Doroshev
articles - 9 total

Test inheritance in unittest sounds neat - until it breaks your IDE, hides failures in CI, and kills debuggability. I wrote up why it's a trap and what to do instead.

The Hidden Cost of Test Inheritance Dmitry Doroshev ・ Jun...

Learn More 0 0Jun 23

The Hidden Cost of Test Inheritance

I'm subscribed to Adam Johnson's blog and usually really enjoy his writing - it's practical, deep,...

Learn More 0 0Jun 23

Why Django's override_settings Sometimes Fails (and How reload + patch Saved Me)

Sometimes @override_settings just doesn’t cut it. I ran into a nasty issue while testing a Django...

Learn More 0 1Jun 13

Calculating the next run date of a Celery periodic task

The problem You have a periodic task in Celery defined with a crontab(...) schedule, and...

Learn More 0 1Jun 12

Pytest Fish shell autocompletion

TL;DR https://github.com/ddoroshev/pytest.fish Typing repetitive commands or copying and pasting...

Learn More 1 0Dec 29 '24

This Week in Changelogs: flask, pytest, IPython, etc

pyenv 2.3.13, 2.3.14 Highlights from the changelog: added versions 3.10.10, 3.11.2, and...

Learn More 0 0Mar 7 '23

This Week in Changelogs: Django and faker

Django 4.1.6, 4.1.7 4.1.6: release notes, blog post 4.1.7: release notes, blog...

Learn More 1 0Feb 18 '23

Docker Buildkit: the proper usage of --mount=type=cache

TL;DR The contents of directories mounted with --mount=type=cache are not stored in the docker...

Learn More 6 0Feb 17 '22

Fast commit and push

I want to share a shell-function called gacp (Git Add, Commit and Push), which I came up with a few...

Learn More 6 0Feb 7 '22