def test_hasher(): assert 'CBEB' == hash_password('test')
def set_password(self, value='', already_hashed=False): """Set a password on this sheet.""" if not already_hashed: value = hash_password(value) self._password = value
def test_hasher(): eq_("CBEB", hash_password("test"))
def test_hasher(): eq_('CBEB', hash_password('test'))