Ejemplo n.º 1
0
 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()))
Ejemplo n.º 2
0
 def test_hash_artifact_passing_algorithm(self):
     """Test _hash_artifact passing hash algorithm. """
     self.assertTrue("sha256" in list(_hash_artifact("foo", ["sha256"])))