コード例 #1
0
ファイル: bootstrap_test.py プロジェクト: sinkdwty/rust-1
 def test_invalid_file(self):
     """Should verify that the file is invalid"""
     self.assertFalse(bootstrap.verify(self.bad_src, self.sums, False))
コード例 #2
0
 def test_invalid_file(self):
     """Should verify that the file is invalid"""
     self.assertFalse(bootstrap.verify(self.bad_src, self.sums, False))
コード例 #3
0
ファイル: bootstrap_test.py プロジェクト: sinkdwty/rust-1
 def test_valid_file(self):
     """Check if the sha256 sum of the given file is valid"""
     self.assertTrue(bootstrap.verify(self.src, self.sums, False))
コード例 #4
0
 def test_valid_file(self):
     """Check if the sha256 sum of the given file is valid"""
     self.assertTrue(bootstrap.verify(self.src, self.sums, False))