def METHOD_NAME(self):
    d = tempfile.mkdtemp()
    try:
        files = self._create_files(d)
        gp = os.path.join(d, "test.tar.gz")
        with open(gp, "wb") as fh:
            create_tar_gz_from_files(fh, files)
        self.assertEqual(file_hash(gp), "7c4da5adc5088cdf00911d5daf9a67b15de714b7")
        with tarfile.open(gp, "r:gz") as tf:
            self._verify_basic_tarfile(tf)
    finally:
        shutil.rmtree(d)