On 3/14/06, Xie Yanbo <[EMAIL PROTECTED]> wrote:
======================================================================
> ERROR: test module example.config in /home/xyb/develop/turbogears/example
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.4/site-packages/nose-0.8.7.1-py2.4.egg/nose/core.py",
> line 423, in run
>     self.setUp()
>   File "/usr/lib/python2.4/site-packages/nose-0.8.7.1-py2.4.egg/nose/core.py",
> line 651, in setUp
>     self.module = self.loader._import(self.module_name, self.path)
>   File "/usr/lib/python2.4/site-packages/nose-0.8.7.1-py2.4.egg/nose/core.py",
> line 280, in _import
>     return nose.importer._import(name, [path])
>   File 
> "/usr/lib/python2.4/site-packages/nose-0.8.7.1-py2.4.egg/nose/importer.py",
> line 66, in _import
>     mod = load_module(fqname, fh, filename, desc)
>   File "/home/xyb/develop/turbogears/example/example/config.py", line 107, in 
> ?
>     path("/static")
> NameError: name 'path' is not defined

This error reflects part of the reason that 0.9a2 is switching *back*
to INI-style config. config.py is not a normal, importable Python
module, so I never should've given it a .py extension.

======================================================================
> ERROR: Object creation should set the name
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/xyb/develop/turbogears/example/example/tests/test_model.py",
> line 15, in test_creation

Hmm... I'll probably end up tossing or commenting out that test.

Kevin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to