Pytest mocker failing to find Path
Pytest mocker failing to find Path Question: I am working with someone else’s testing code, and they make extensive use of mocker. The problem is that I changed the underlying code so it tests for the existence of a file using Path ().is_file. Now I need to mock Path ().is_file so it returns True. I …