Python Testing with pytest, Second Edition:

Hello @brianokken,
I’m a french student interested in Pytest and I recently bought Python Testing With Pytest.
I’m at Mock Chapter’s exercices and I don’t know how to solve the second one.
"Write another test that also calls home_dir(), but instead of checking the value, just asserts that Path.home() is called by home_dir().

Is there a correction for these exercises ?

Thank you,
Timothé

I don’t understand what you mean by “a correction to these exercises”?
Do you mean you’d like to see the answer?
Or is there a problem with the exercise?

Yes i’d like to have the answer to compare with my code !