Hi everyone. If you have an up-to-date working copy of the main development branch of TG2 (/trunk), you're now able to use DBTest in your test suite.
DBTest is now used in the test_models.py file of the quickstarted projects. If you want to use it in your existing code, you may create a new TG project (as long as you have an up-to-date working copy of tg.devtools) or you may take a look at this file: https://tracker.gnulinuxmatters.org/browser/animador/trunk/animador/tests/test_model.py?rev=1208#L550 It's as simple as adding two lines to a base TestCase for your model-related tests. Cheers. -- Gustavo Narea. General Secretary. GNU/Linux Matters. http://www.gnulinuxmatters.org/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" 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-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
