diff --git a/tests/test_os_ops_common.py b/tests/test_os_ops_common.py index a21969d..d892f01 100644 --- a/tests/test_os_ops_common.py +++ b/tests/test_os_ops_common.py @@ -3412,6 +3412,10 @@ def test_copytree__with_content__relative( dst_a = os_ops.build_path(cwd, dst) + logging.info("src : [{}]".format(src)) + logging.info("dst : [{}]".format(dst)) + logging.info("dst_a: [{}]".format(dst_a)) + os_ops.makedir(src) src_file1 = os_ops.build_path(src, "file1.dat") @@ -3436,6 +3440,10 @@ def test_copytree__with_content__relative( assert os_ops.path_exists(dst_dir1_file2) assert os_ops.read(dst_dir1_file2, binary=False) == "cba" + os_ops.rmdirs(dst) + assert not os_ops.path_exists(dst) + assert not os_ops.path_exists(dst_a) + os_ops.rmdirs(tmpdir) assert not os_ops.path_exists(tmpdir) return