diff options
| author | Chris McDonough <chrism@plope.com> | 2011-04-12 12:35:36 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-04-12 12:35:36 -0400 |
| commit | 216f4161faaa7535bc074c5e59405c3cc701c185 (patch) | |
| tree | 555349fe18b072508985eb23f04af1567c452084 | |
| parent | 70d504d70c0ff06cb0742bdbbfe04f31ea042462 (diff) | |
| download | pyramid-216f4161faaa7535bc074c5e59405c3cc701c185.tar.gz pyramid-216f4161faaa7535bc074c5e59405c3cc701c185.tar.bz2 pyramid-216f4161faaa7535bc074c5e59405c3cc701c185.zip | |
condition coverage
| -rw-r--r-- | pyramid/tests/test_router.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pyramid/tests/test_router.py b/pyramid/tests/test_router.py index c559f58d0..bd6210f75 100644 --- a/pyramid/tests/test_router.py +++ b/pyramid/tests/test_router.py @@ -112,6 +112,12 @@ class TestRouter(unittest.TestCase): environ.update(extras) return environ + def test_ctor_registry_has_no_settings(self): + self.registry.settings = None + router = self._makeOne() + self.failIf('debug_notfound' in router.__dict__) + self.failIf('debug_routematch' in router.__dict__) + def test_root_policy(self): context = DummyContext() self._registerTraverserFactory(context) |
