def test_user(self): """Passing a user returns the gravatar url for that user's email.""" url = gravatar_url(self.user) ok_('b642b4217b34b1e8d3bd915fc65c4452' in url)
def test_basic(self): """Passing an email returns the gravatar url for that email.""" url = gravatar_url('*****@*****.**') ok_('b642b4217b34b1e8d3bd915fc65c4452' in url)