summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pyramid/tests/test_config/test_derivations.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/pyramid/tests/test_config/test_derivations.py b/pyramid/tests/test_config/test_derivations.py
index f906e1aef..3d16856f6 100644
--- a/pyramid/tests/test_config/test_derivations.py
+++ b/pyramid/tests/test_config/test_derivations.py
@@ -1,6 +1,7 @@
import unittest
from pyramid import testing
+from pyramid.exceptions import ConfigurationError
class TestDeriveView(unittest.TestCase):
@@ -835,7 +836,7 @@ class TestDeriveView(unittest.TestCase):
pass
def index(self):
return {'a':'1'}
- result = self.config.derive_view(view,
+ result = self.config.derive_view(View,
renderer=renderer(), attr='index')
self.assertFalse(result is View)
self.assertEqual(result.__module__, View.__module__)
@@ -861,7 +862,7 @@ class TestDeriveView(unittest.TestCase):
pass
def index(self):
return {'a':'1'}
- result = self.config.derive_view(view,
+ result = self.config.derive_view(View,
renderer=renderer(), attr='index')
self.assertFalse(result is View)
self.assertEqual(result.__module__, View.__module__)