assert_files_equal#

assert_files_equal(file_1: Union[str, pathlib.Path, cloudpathlib.cloudpath.CloudPath], file_2: Union[str, pathlib.Path, cloudpathlib.cloudpath.CloudPath])[source]#

Assert to files are equal by hashing its content

Parameters
  • file_1 (str) – Path to file 1

  • file_2 (str) – Path to file 2