I've got some controller unit tests that use testutil for a TG1.0.7 project. I'm on Windows XP, Python 2.5.4. When I wrote them, they used to work when I used nosetests to run them, but now I'm getting an ImportError when trying to import turbogears. Specifically, it points to:
\turbogears-1.0.7-py2.5.egg\turbogears\__init__.py line 5, from turbogears import config. An ImportError is raised, with the message, "cannot import name config." Now, in any python, Idle, or ipython session, I can import turbogears just fine. Also, the app runs fine, and when I run the test module directly, turbogears can be imported without problem. I was wondering if anyone has encountered this problem and/or knew what I could do to fix it. And unfortunately, I relied on nose heavily when writing my unittests, so I don't know how to run them on their own (I subclass testutil.DBTest for the test classes). So if someone knows a workaround without having to use nose, that would also be helpful. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

