Ticket #1216 (closed defect: fixed)
nosetests fresh quickstarted identity project: No handlers could be found for logger "turbogears.identity.soprovider"
| Reported by: | jeffk | Owned by: | anonymous |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Tests | Version: | 1.0b2 |
| Severity: | normal | Keywords: | quickstart nosetests handler logger turbogears.identity.soprovider |
| Cc: |
Description
Using turbogears trunk r2267 (system and dependency configuration described in #1214):
Running nosetests on a fresh quickstarted project using identity gives the following error:
/software/tgprojects $ tg-admin quickstart -i -p tgtestidentity tgtestidentity Selected and implied templates: (...) reading manifest file 'tgtestidentity.egg-info/SOURCES.txt' writing manifest file 'tgtestidentity.egg-info/SOURCES.txt'
/software/tgprojects/tgtestidentity $ nosetests
Failed to create client object: Daemon not running
No handlers could be found for logger "turbogears.identity.soprovider"
.F
======================================================================
FAIL: tgtestidentity.tests.test_controllers.test_indextitle
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/nose-0.9.1-py2.4.egg/nose/case.py", line 52, in runTest
self.testFunc()
File "/software/tgprojects/tgtestidentity/tgtestidentity/tests/test_controllers.py", line 16, in test_indextitle
assert "<title>Welcome to TurboGears</title>" in cherrypy.response.body[0]
AssertionError
----------------------------------------------------------------------
Ran 2 tests in 3.482s
FAILED (failures=1)
Unhandled exception in thread started by
Error in sys.excepthook:
Original exception was:
Unhandled exception in thread started by
Error in sys.excepthook:
Original exception was:
Change History
Note: See
TracTickets for help on using
tickets.
This should be fixed in [2269]. Thanks for spoting this :)
Alberto