My root controller imports a database connection. I need to unit test
this root controller.
Using the nosetests is giving me an error such as the following:
File "C:\Python24\Lib\site-packages\TurboGears-1.0.1-py2.4.egg
\turbogears\database.py", line 39, in get_engine
dburi = alch_args.pop('dburi')
KeyError: 'pop(): dictionary is empty'
How can I solve this? Should I call another database instance for
unit testing?
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---