def test_normalizes_email_for_gravatar_hash(self): """ Checks """ email_one = "*****@*****.**" email_two = "[email protected] " assert gravatar_hash(email_one) == gravatar_hash(email_two)
def test_computes_gravatar_hash(self): """ Checks e-mail hashing happens properly """ email = "*****@*****.**" assert len(gravatar_hash(email)) == 32