There are several outdate code issues in the test_controllers.py module in the quickstart templates of the 1.5 branch which cause errors in the contained tests when running the unit test suite of a project.
- The test methods use a non-existant testutil.go()function.
- The setUp/tearDown method don't call the methods from the superclass and are redundant anyway, since the superclass already calls start_server/stop_server.
- On line / testutil.mount(root = Root()) should be `testutil.mount(Root())
- import cherry and import unittest are not necessary.
- The TestPages class should derive from testutil.TGTest (and testutil.TGWebTest needs to be renamed to testutil.TGTest like in the 1.1 branch.
It's probably best to copy over the file from the quickstart templates of the 1.1 branch.
I also get errors because the template welcome.kid (!) is not found. It seems that the test does not set tg.defaultview = "genshi" although it is set in app.cfg of the project.