Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_hash_for_msg(self):
"""Test the hash_for_msg() function"""
self.assertEqual(
'900150983cd24fb0d6963f7d28e17f72',
rhash.hash_for_msg('abc', rhash.MD5))