manage group
This commit is contained in:
@ -102,7 +102,9 @@ def test_error_dictionary(test_dir_error):
|
||||
errno = int(i.split('_')[1])
|
||||
with raises(DictConsistencyError) as err:
|
||||
launch_flattener(test_dir)
|
||||
assert err.value.errno == errno, f'expected errno: {errno}, errno: {err.value.errno}, value: {err.value}'
|
||||
if err.value.errno != errno:
|
||||
print(f'expected errno: {errno}, errno: {err.value.errno}')
|
||||
launch_flattener(test_dir)
|
||||
assert getcwd() == ORI_DIR
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user