Correct ioTest's execution directory
This commit is contained in:
parent
e02586db61
commit
000b8efb34
@ -101,8 +101,8 @@ def reportTest(testname, output, encoding='utf-8'):
|
||||
|
||||
def ioTest(filename):
|
||||
src = os.path.join(DATA_DIR, filename)
|
||||
out1 = os.path.join(DATA_DIR, '{}.1'.format(filename))
|
||||
out2 = os.path.join(DATA_DIR, '{}.2'.format(filename))
|
||||
out1 = os.path.join(TEST_DIR, '{}.1'.format(filename))
|
||||
out2 = os.path.join(TEST_DIR, '{}.2'.format(filename))
|
||||
runTest('iotest {src} {out1} {out2}', vars())
|
||||
assert is_same_file(src, out1), 'The output file is different'
|
||||
assert is_same_file(src, out2), 'The output file is different'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user