summaryrefslogtreecommitdiff
path: root/repoze/bfg/tests/test_integration.py
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2010-01-24 09:00:47 +0000
committerChris McDonough <chrism@agendaless.com>2010-01-24 09:00:47 +0000
commite1c2ee1bc3e73b32db7f1b0f5e41b19da05b3829 (patch)
treec1bdaa083728305070b46b15f142bd2703d8c89a /repoze/bfg/tests/test_integration.py
parentfcbe0afda076982abf6e191c32cc3fea68620c56 (diff)
downloadpyramid-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.py5
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