id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
1972	Controller tests in 1.5 quickstart templates are out-of-date	Chris Arndt	kskuhlman	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.\r\n\r\n  * The test methods use a non-existant `testutil.go()`function.\r\n  * 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`.\r\n  * On line / `testutil.mount(root = Root())` should be `testutil.mount(Root())\r\n  * `import cherry` and `import unittest` are not necessary.\r\n  * The `TestPages` class should derive from `testutil.TGTest` (and `testutil.TGWebTest` needs to be renamed to `testutil.TGTest` like in the 1.1 branch.\r\n\r\nIt's probably best to copy over the file from the quickstart templates of the 1.1 branch.\r\n\r\nI 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.	defect	closed	normal	1.5	Tests	1.5 HEAD	normal	fixed	tests, testutil, quickstart templates	
