def test_hashes_match(self):
    hash1 = 'S1EAM/BVMqhbJnAUs/nWlQ=='
    hash2 = '4b510033f05532a85b267014b3f9d695'
    self.assertTrue(medusa.storage.abstract_storage.AbstractStorage.hashes_match(hash1, hash2))
    hash1 = '4b510033f05532a85b267014b3f9d695'
    hash2 = '4b510033f05532a85b267014b3f9d695'
    self.assertTrue(medusa.storage.abstract_storage.AbstractStorage.hashes_match(hash1, hash2))
    hash1 = 'S1EAM/BVMqhbJnAUs/nWlQsdfsdf=='
    hash2 = '4b510033f05532a85b267014b3f9d695'
    self.assertFalse(medusa.storage.abstract_storage.AbstractStorage.hashes_match(hash1, hash2))
def test_hashes_match(self):
    hash1 = 'S1EAM/BVMqhbJnAUs/nWlQ=='
    hash2 = '4b510033f05532a85b267014b3f9d695'
    self.assertTrue(medusa.storage.abstract_storage.AbstractStorage.hashes_match(hash1, hash2))
    hash1 = '4b510033f05532a85b267014b3f9d695'
    hash2 = '4b510033f05532a85b267014b3f9d695'
    self.assertTrue(medusa.storage.abstract_storage.AbstractStorage.hashes_match(hash1, hash2))
    hash1 = 'S1EAM/BVMqhbJnAUs/nWlQsdfsdf=='
    hash2 = '4b510033f05532a85b267014b3f9d695'
    self.assertFalse(medusa.storage.abstract_storage.AbstractStorage.hashes_match(hash1, hash2))