There's no way to call touch
like pathlib.Path.touch("my_path")
according to the documentation hence there's no way to assert it with touch_mock.assert_any_call(Path(p /"output"/"output_file"))
, it's just pointless. I'll only assert that the method has been called.