def METHOD_NAME(self) -> None:
    test = TestCmd.TestCmd(workdir='')
    test.subdir('sub')
    subdir1 = test.workpath('sub', 'dir1')
    subdir2 = test.workpath('sub', 'dir1', 'dir2')
    # No error if asked to create existing dir
    os.makedirs(subdir2)
    mkdir_func(subdir2)
    mkdir_func(subdir1)