Unit tests use a hard-coded / separator in path expectations but the code uses the functions in the os.path module, which use OS-specific path separators (/ on Linux and \ on Windows).
This fix uses the os.path.join function to construct the path expectations for the unit tests so that they can run on Windows as well as Linux.
Unit tests use a hard-coded
/
separator in path expectations but the code uses the functions in theos.path
module, which use OS-specific path separators (/
on Linux and\
on Windows).This fix uses the
os.path.join
function to construct the path expectations for the unit tests so that they can run on Windows as well as Linux.