Hi all, I'm in the process of adding unit tests to my project. In most cases I'm not really interested in testing the kid output, but rather in testing the content of the dictionaries that my controller methods return. After setting up the first few test cases, I've run into the following problem: The dictionaries contain lists/dicts/sets/whatever of model class- instances (i.e. subclasses of SQLObject). When I try to run assertions on the properties of the returned objects, I get AssertionError: This transaction has already gone through ROLLBACK; errors from SQLObject, which is logical as the exposed method has finished. As I'm pretty sure that some of you have already faced this problem, I'd be interested in your testing approaches or workarounds for this problem.
Regards, Puck --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

