diff options
| author | Chris McDonough <chrism@agendaless.com> | 2010-01-24 09:00:47 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2010-01-24 09:00:47 +0000 |
| commit | e1c2ee1bc3e73b32db7f1b0f5e41b19da05b3829 (patch) | |
| tree | c1bdaa083728305070b46b15f142bd2703d8c89a /repoze/bfg/tests/test_integration.py | |
| parent | fcbe0afda076982abf6e191c32cc3fea68620c56 (diff) | |
| download | pyramid-e1c2ee1bc3e73b32db7f1b0f5e41b19da05b3829.tar.gz pyramid-e1c2ee1bc3e73b32db7f1b0f5e41b19da05b3829.tar.bz2 pyramid-e1c2ee1bc3e73b32db7f1b0f5e41b19da05b3829.zip | |
Make sure global views don't match by default.
Diffstat (limited to 'repoze/bfg/tests/test_integration.py')
| -rw-r--r-- | repoze/bfg/tests/test_integration.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/repoze/bfg/tests/test_integration.py b/repoze/bfg/tests/test_integration.py index 6affe24e1..c033f0e03 100644 --- a/repoze/bfg/tests/test_integration.py +++ b/repoze/bfg/tests/test_integration.py @@ -135,6 +135,11 @@ class TestHybridApp(TwillBase): self.assertEqual(browser.get_html(), 'global') browser.go('http://localhost:6543/jkl') self.assertEqual(browser.get_code(), 404) + browser.go('http://localhost:6543/mno/global2') + self.assertEqual(browser.get_code(), 404) + browser.go('http://localhost:6543/pqr/global2') + self.assertEqual(browser.get_code(), 200) + self.assertEqual(browser.get_html(), 'global2') class DummyContext(object): pass |
