def test_sha224_complete_calculation(self):
    'Test sha224 of complete file.'
    res = tools.compute_file_hash(self.filename, sha='sha224')
    self.assertIn(res, ('3d350d9d9eca074bd299cb5ffe1b325a9f589b2bcd7ba1c033ab4d33', '4a2cf33b7da01f7b0530b2cc624e1180c8651b20198e9387aee0c767'))
Test sha224 of complete file.
def test_sha224_complete_calculation(self):
    
    res = tools.compute_file_hash(self.filename, sha='sha224')
    self.assertIn(res, ('3d350d9d9eca074bd299cb5ffe1b325a9f589b2bcd7ba1c033ab4d33', '4a2cf33b7da01f7b0530b2cc624e1180c8651b20198e9387aee0c767'))