All Questions
1 question
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 ...