Nosetests gives me 2 fails related to test_config.py

2 views
Skip to first unread message

Roger Demetrescu

unread,
Mar 25, 2006, 10:28:34 AM3/25/06
to turbogea...@googlegroups.com
Hi all,

I'm getting this result when running nosetests:


======================================================================
FAIL: turbogears.tests.test_config.test_update_from_package
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python24\lib\site-packages\nose-0.8.6-py2.4.egg\nose\core.py",
line 112, in runTest
self.testFunc()
File "C:\Pessoal\TG90\turbogears\tests\test_config.py", line 10, in
test_update_from_package
assert turbogears.config.get("my.static").endswith(
AssertionError:
-------------------- >> begin captured stdout << ---------------------
C:\Pessoal\TG90 urbogears ests/static

--------------------- >> end captured stdout << ----------------------

======================================================================
FAIL: turbogears.tests.test_config.test_update_from_both
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python24\lib\site-packages\nose-0.8.6-py2.4.egg\nose\core.py",
line 112, in runTest
self.testFunc()
File "C:\Pessoal\TG90\turbogears\tests\test_config.py", line 20, in
test_update_from_both
assert turbogears.config.get("test.dir").endswith("turbogears/tests")
AssertionError:
-------------------- >> begin captured stdout << ---------------------
C:\Pessoal\TG90 urbogears ests

--------------------- >> end captured stdout << ----------------------

----------------------------------------------------------------------
Ran 194 tests in 15.922s

FAILED (failures=2)


Here is my tg-admin info:

TurboGears 0.9a2dev-r1022
nose 0.8.6
ruledispatch 0.5a0.dev-r2100
setuptools 0.6a10
formencode 0.4
celementtree 1.0.5-20051216
pastescript 0.5
elementtree 1.2.6-20050316
simplejson 1.1
SQLObject 0.7.1dev-r1643
cherrypy 2.2.0rc1
TurboKid 0.9.2dev-r924
TurboJson 0.9.0dev-r963
pyprotocols 1.0a0dev-r2082
cheetah 1.0
pastedeploy 0.4
paste 0.5
formencode 0.4
kid 0.9
elementtree 1.2.6-20050316

Am I missing something ?

Thanks

Roger Demetrescu

unread,
Mar 25, 2006, 11:02:35 AM3/25/06
to turbogea...@googlegroups.com
Hmm... seems like the "\t" from "\turbogears" and "\tests" is been
replaced by TAB...

Yeaph, I'm still using Windows... don't blame me... :-/

I know nothing about the config module from Turbogears... I'll try to
fix it, but meantime, if anyone can show me the light... :)

Thanks

Roger

Reply all
Reply to author
Forward
0 new messages