83
83
def test_executable_extraction(self):
84
84
sample_directory = os.path.join(repository_directory, "varnish2")
85
85
formula_directory = FormulaDirectory(sample_directory)
86
88
bundle = formula_directory.as_bundle()
87
89
directory = bundle.as_directory()
88
90
hook_path = os.path.join(directory.path, "hooks", "install")
91
93
def get_formula_sha256(self):
92
94
return compute_file_hash(hashlib.sha256, self.filename)