Пример #1
0
 def test_sha1(self):
     # Output of sha1sum
     expected = 'ce5653590804baa9369f72d483ed9eba72f04d29'
     self.assertEqual(utils.sha1(self.file), expected)
Пример #2
0
 def test_sha1(self):
     # Output of sha1sum
     expected = 'ce5653590804baa9369f72d483ed9eba72f04d29'
     self.assertEqual(utils.sha1(self.file), expected)