Commit 660bee34 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

TEST: Fix windows edge case where test data is on different drive to tempdir

parent 2299ef1d
Pipeline #2324 passed with stages
in 11 minutes and 20 seconds
......@@ -359,7 +359,10 @@ def test_imcp_script_shouldPass(move=False):
imcp_args[:-1] = [op.join(tindir, a) for a in imcp_args[:-1]]
imcp_args[ -1] = op.join(toutdir, imcp_args[-1])
imcp_args = [op.relpath(a, reldir) for a in imcp_args]
for i, a in enumerate(imcp_args):
if op.splitdrive(a)[0] == op.splitdrive(reldir)[0]:
imcp_args[i] = op.relpath(a, reldir)
print('indir before: ', os.listdir(tindir))
print('outdir before: ', os.listdir(toutdir))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment