summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2010-11-11 01:22:06 -0500
committerChris McDonough <chrism@plope.com>2010-11-11 01:22:06 -0500
commit560fe3ae45077020c54edf52bd33dbc8f2973e69 (patch)
treebc9e980885ea63c9fee4b4cbea04f21cb6f66ad9
parent2a2d5024caaa62bee540e32a8f63aa0998f1b9cd (diff)
downloadpyramid-560fe3ae45077020c54edf52bd33dbc8f2973e69.tar.gz
pyramid-560fe3ae45077020c54edf52bd33dbc8f2973e69.tar.bz2
pyramid-560fe3ae45077020c54edf52bd33dbc8f2973e69.zip
issue 29: paster template tests fail
-rw-r--r--pyramid/paster_templates/pylons_basic/+package+/tests.py_tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/pyramid/paster_templates/pylons_basic/+package+/tests.py_tmpl b/pyramid/paster_templates/pylons_basic/+package+/tests.py_tmpl
index d98bee355..7b2bec33c 100644
--- a/pyramid/paster_templates/pylons_basic/+package+/tests.py_tmpl
+++ b/pyramid/paster_templates/pylons_basic/+package+/tests.py_tmpl
@@ -2,7 +2,7 @@ import unittest
from pyramid.configuration import Configurator
-class MyControllerTests(unittest.TestCase):
+class HelloHandlerTests(unittest.TestCase):
def setUp(self):
self.config = Configurator()
self.config.begin()
@@ -11,8 +11,8 @@ class MyControllerTests(unittest.TestCase):
self.config.end()
def _makeOne(self, request):
- from {{package}}.handlers import MyHandler
- return MyHandler(request)
+ from {{package}}.handlers.hello import HelloHandler
+ return HelloHandler(request)
def test_index(self):
request = DummyRequest()