From 488fddedaf9b61d4b13c071196b31bf22b3fed51 Mon Sep 17 00:00:00 2001 From: Amos Latteier Date: Wed, 15 Apr 2015 15:17:39 -0400 Subject: Fix some tests that had bad capitalization, and fix a missing import. --- pyramid/tests/test_config/test_derivations.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pyramid/tests/test_config/test_derivations.py b/pyramid/tests/test_config/test_derivations.py index 51c7174f0..60212b48d 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): @@ -833,7 +834,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__) @@ -859,7 +860,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__) -- cgit v1.2.3