def test_md5_complete_calculation(self):
    'Test md5 of complete file.'
    res = tools.compute_file_hash(self.filename, sha='md5')
    self.assertIn(res, ('5d7265e290e6733e1e2020630262a6f3', '2c941f2fa7e6e629d165708eb02b67f7'))
Test md5 of complete file.
def test_md5_complete_calculation(self):
    
    res = tools.compute_file_hash(self.filename, sha='md5')
    self.assertIn(res, ('5d7265e290e6733e1e2020630262a6f3', '2c941f2fa7e6e629d165708eb02b67f7'))