I still have some failing tests here related to the json change (I
think), any idea? should I update something somewhere?

Relevant output from nosetests:

======================================================================
FAIL: test_mochikit_all_and_json (tests.test_controllers.TestRoot)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/michele/Progetti/TurboGears/svn/turbogears/tests/test_controllers.py",
line 375, in test_mochikit_all_and_json
    assert cherrypy.response.headers["Content-Type"] ==
"text/javascript"
AssertionError:

======================================================================
ERROR: tests.test_validators.test_jsonvalidator
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/local/lib/python2.4/site-packages/nose-0.8.3-py2.4.egg/nose/core.py",
line 112, in runTest
    self.testFunc()
  File
"/home/michele/Progetti/TurboGears/svn/turbogears/tests/test_validators.py",
line 38, in test_jsonvalidator
    json = v.from_python(origlist)
  File
"/usr/local/lib/python2.4/site-packages/FormEncode-0.4-py2.4.egg/formencode/api.py",
line 342, in from_python
    value = self._from_python(value, state)
  File
"/home/michele/Progetti/TurboGears/svn/turbogears/validators.py", line
114, in _from_python
    return jsonify.encode(value)
AttributeError: 'function' object has no attribute 'encode'

Finally I have this one that's with me since a while but I know others
are not experiencing, anyway any idea?

======================================================================
ERROR: test module tests.test_i18n in
/home/michele/Progetti/TurboGears/svn/turbogears
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/local/lib/python2.4/site-packages/nose-0.8.3-py2.4.egg/nose/core.py",
line 408, in run
    self.setUp()
  File
"/usr/local/lib/python2.4/site-packages/nose-0.8.3-py2.4.egg/nose/core.py",
line 587, in setUp
    self.module = self.loader._import(self.module_name, self.path)
  File
"/usr/local/lib/python2.4/site-packages/nose-0.8.3-py2.4.egg/nose/core.py",
line 262, in _import
    module = nose.importer._import(name, [path])
  File
"/usr/local/lib/python2.4/site-packages/nose-0.8.3-py2.4.egg/nose/importer.py",
line 64, in _import
    mod = load_module(fqname, fh, filename, desc)
  File
"/home/michele/Progetti/TurboGears/svn/turbogears/tests/test_i18n.py",
line 31, in ?
    sogettext.create_so_catalog(["en","fi"], "messages")
  File
"/home/michele/Progetti/TurboGears/svn/turbogears/i18n/sogettext/__init__.py",
line 58, in create_so_catalog
    TG_Message.dropTable(ifExists=True)
  File
"/usr/local/lib/python2.4/site-packages/SQLObject-0.7.1dev_r1457-py2.4.egg/sqlobject/main.py",
line 1308, in dropTable
    conn = connection or cls._connection
  File
"/usr/local/lib/python2.4/site-packages/SQLObject-0.7.1dev_r1457-py2.4.egg/sqlobject/dbconnection.py",
line 856, in __get__
    return self.getConnection()
  File "/home/michele/Progetti/TurboGears/svn/turbogears/database.py",
line 69, in getConnection
    raise AttributeError(
AttributeError: No connection has been defined for this thread or
process

Thanks guys.

Ciao
Michele


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk
-~----------~----~----~----~------~----~------~--~---

Reply via email to