All pastes #959224 Raw Edit

Miscellany

public text v1 · immutable
#959224 ·published 2008-03-27 07:45 UTC
rendered paste body
Running tests in Waraamo/trunk/waraamo/waraamo/tests...
Running setup_config() from waraamo.websetup
.../home/laura/workspace/Waraamo/trunk/waraamo/waraamo/model/db_access.py:223: SADeprecationWarning: Call to deprecated function select
  func.lower(self.users_table.c.login).like(login_to_search))
E
======================================================================
ERROR: test_registration (waraamo.tests.functional.test_login.TestLoginController)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/laura/workspace/Waraamo/trunk/waraamo/waraamo/tests/functional/test_login.py", line 26, in test_registration
    user = db.get_user_by_login(escaped_test_login)
  File "/home/laura/workspace/Waraamo/trunk/waraamo/waraamo/model/db_access.py", line 228, in get_user_by_login
    self.set_to_cache(user)
  File "/home/laura/workspace/Waraamo/trunk/waraamo/waraamo/model/db_access.py", line 112, in set_to_cache
    self.get_cache_client().set(key, obj, time=expiration_time)
  File "/home/laura/workspace/Calendero/calendero/trunk/calendero/calendero/pytoolkit/memcached.py", line 44, in set
AttributeError: 'NoneType' object has no attribute 'replace'

----------------------------------------------------------------------
Ran 4 tests in 0.138s

FAILED (errors=1)