def METHOD_NAME(self) -> None:
    test = TestCmd.TestCmd(workdir='')
    test.subdir('sub')
    subdir2 = test.workpath('sub', 'dir1', 'dir2')
    # Simple smoke test
    mkdir_func(subdir2)
    mkdir_func(subdir2)  # 2nd time should be OK too