def test_big_files_with_same_size_but_diff_md5_and_useboth(self):
        shutil.rmtree(self.source_dir)
        self.source_dir  = tempfile.mkdtemp(prefix='TestGristleDirMerger_source_')
        source_subdir    = os.path.join(self.source_dir, 'mysubdir')
        os.mkdir(source_subdir)
        create_test_file(source_subdir, 'foo.csv', records=10000)  #mostly same

        create_test_file(self.dest_subdir, 'foo.csv',   records=10000,
                         last_row_odd=True)    #mostly same

        self.cmd = get_cmd(self.source_dir, self.dest_dir,
                           match_on='name_and_md5', on_match='keep_both', on_partial_match='keep_both')
        r = envoy.run(self.cmd)
        self.assert_results(r, source_files=None, dest_files=['foo.csv', 'foo.1.csv'])
starting dirs & files:
dataset/ETHPy150Open kenfar/DataGristle/scripts/tests/test_gristle_dir_merger_cmd.py/TestMatchOnNameAndMd5Extras.test_big_files_with_same_size_but_diff_md5_and_useboth