assert_dir_equal# assert_dir_equal(path_1: str | CloudPath | Path, path_2: str | CloudPath | Path) → None[source]# Assert that two directories are equal. Useful for pytests. Parameters: path_1 (str) – Directory 1 path_2 (str) – Directory 2 Example >>> path = r"CI/DATA/rasters" >>> assert_dir_equal(path, path) >>> # Raises AssertionError if sth goes wrong