Use `pathlib` to fix the thin unit tests under windows
Use `pathlib` to fix the thin unit tests under windows

At least, under pytest.

saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt