summaryrefslogtreecommitdiff
path: root/pyramid/tests/test_config.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyramid/tests/test_config.py')
-rw-r--r--pyramid/tests/test_config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyramid/tests/test_config.py b/pyramid/tests/test_config.py
index 70e4df07e..ac459d7e3 100644
--- a/pyramid/tests/test_config.py
+++ b/pyramid/tests/test_config.py
@@ -3799,7 +3799,7 @@ class TestViewDeriver(unittest.TestCase):
return 'OK'
return wrapped
def view(context, request): return 'NOTOK'
- deriver = self._makeOne(view_mapper=mapper)
+ deriver = self._makeOne(mapper=mapper)
result = deriver(view)
self.failIf(result is view)
self.assertEqual(result(None, None), 'OK')