Skip to main content

All Questions

1 vote
1 answer
167 views

Should I stub hidden dependencies in Python unit tests

Python is very specific language which gives developer huge flexibility. So if I have class like this: class Car: def __init__(self, engine: Engine): self._engine = engine # dependency ...
Qback's user avatar
  • 231