def _version_test(self, archive_dir): """ Helper function for version tests. """ root = os.listdir(archive_dir) course_directory = archive_dir / root[0] return get_version(course_directory)