def test_filehash(self):
        """tests the hashes of the files in data/"""
        fp = self.get_data_path()
        for fn in os.listdir(fp):
            if "." in fn:
                # file used for something else
                continue
            expected_hash = fn
            fullp = os.path.join(fp, fn)
            output = self.run_command("sha256sum " + fullp, exitcode=0)
            result = output.split(" ")[0]
            self.assertEqual(result, expected_hash)
tests the hashes of the files in data/
tests/sha256sum/test_sha256sum.py