assert_dir_exists

Assert Directory Exists

Checks that a directory exists at the given path.

Parameters

Returns

True if the directory exists.

Examples

assert_dir_exists("results")
assert_dir_exists("artifacts", "artifact directory was not created")

See Also

dir_exists, assert