diff options
| author | Chris McDonough <chrism@plope.com> | 2015-02-17 20:28:38 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2015-02-17 20:28:38 -0500 |
| commit | 4f28c2e2bd59c3fdbfc784d2ba8ef569bbe3b484 (patch) | |
| tree | e2c6d6a35a8f447ce75bfb221242b1631e1e527e | |
| parent | bae121df8a31fa4303b68d9fcb71283293ad0c79 (diff) | |
| download | pyramid-4f28c2e2bd59c3fdbfc784d2ba8ef569bbe3b484.tar.gz pyramid-4f28c2e2bd59c3fdbfc784d2ba8ef569bbe3b484.tar.bz2 pyramid-4f28c2e2bd59c3fdbfc784d2ba8ef569bbe3b484.zip | |
appease coverage
| -rw-r--r-- | pyramid/tests/test_config/test_init.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pyramid/tests/test_config/test_init.py b/pyramid/tests/test_config/test_init.py index 4eb3f3385..0ed04eb06 100644 --- a/pyramid/tests/test_config/test_init.py +++ b/pyramid/tests/test_config/test_init.py @@ -1570,8 +1570,7 @@ class Test_reentrant_action_functional(unittest.TestCase): ) config = self._makeConfigurator() config.add_directive('add_auto_route', add_auto_route) - def my_view(request): - return request.response + def my_view(request): return request.response config.add_auto_route('foo', my_view) config.commit() from pyramid.interfaces import IRoutesMapper |
