def test_hash_artifact_passing_algorithm(self): """Test _hash_artifact passing hash algorithm. """ os.chdir(self.test_dir) self.assertTrue( "sha256" in list(_hash_artifact("foo", ["sha256"]).keys()))
def test_hash_artifact_passing_algorithm(self): """Test _hash_artifact passing hash algorithm. """ self.assertTrue("sha256" in list(_hash_artifact("foo", ["sha256"])))