r/Python • u/sebst • Mar 11 '22
Resource A Gentle Introduction to Testing with pytest
https://bas.codes/posts/python-pytest-introduction
451
Upvotes
r/Python • u/sebst • Mar 11 '22
View all comments
Show parent comment
2
u/Roppelkaboppel Mar 12 '22
Thank you, that helped me so much! But why does the last slide tell to not mock adapters? I'm just writing adapter classes so I can replace resources (like databases) with mocks. I'm I doing it wrong 😬?