Hi,
I'm writing a model test using the DBTest class.
It seems to work ok, except that when running with nosetests, it
leaves a python process stuck.
Here's my test:
------
# -*- coding: utf-8 -*-
from turbogears.testutil import DBTest
from turbowp.model import *
class TestModelClasses(DBTest):
def test_unicode_category(self):
c = Category(title=u"tűrő")
hub.commit()
------
This is what I get:
nosetests -f turbowp\tests\test_database.py
Running tests in file
c:\local\python\turbowp\turbowp\tests\test_database.py only.
----------------------------------------------------------------------
Ran 1 test in 4.196s
OK
But the process never exits (I don't get a new prompt) and I need to
python manually.
What am I doing wrong? (WinXP, r589)
Thanks,
nyenyec