summaryrefslogtreecommitdiff
path: root/repoze/bfg/tests/test_template.py
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2008-07-08 12:53:40 +0000
committerChris McDonough <chrism@agendaless.com>2008-07-08 12:53:40 +0000
commit41aeaa3c4c22380f076c1989cfd1b52600751286 (patch)
treed253730d5a97606a90ea31aae2c48be45151dfe8 /repoze/bfg/tests/test_template.py
parenta6233800b3acbe90166a22f88a0893212ebde45e (diff)
downloadpyramid-41aeaa3c4c22380f076c1989cfd1b52600751286.tar.gz
pyramid-41aeaa3c4c22380f076c1989cfd1b52600751286.tar.bz2
pyramid-41aeaa3c4c22380f076c1989cfd1b52600751286.zip
Call it TemplateView.
Diffstat (limited to 'repoze/bfg/tests/test_template.py')
-rw-r--r--repoze/bfg/tests/test_template.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/repoze/bfg/tests/test_template.py b/repoze/bfg/tests/test_template.py
index 67f4e3c47..e726afedc 100644
--- a/repoze/bfg/tests/test_template.py
+++ b/repoze/bfg/tests/test_template.py
@@ -77,7 +77,7 @@ class ViewPageTemplateFileTests(unittest.TestCase, Base):
self.assertEqual(result.status, '200 OK')
self.assertEqual(len(result.headerlist), 2)
-class BrowserViewTests(unittest.TestCase, Base):
+class TemplateViewTests(unittest.TestCase, Base):
def setUp(self):
Base.setUp(self)
@@ -85,8 +85,8 @@ class BrowserViewTests(unittest.TestCase, Base):
Base.tearDown(self)
def _getTargetClass(self):
- from repoze.bfg.template import BrowserView
- return BrowserView
+ from repoze.bfg.template import TemplateView
+ return TemplateView
def _makeOne(self, *arg, **kw):
klass = self._getTargetClass()