From e1c2ee1bc3e73b32db7f1b0f5e41b19da05b3829 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 24 Jan 2010 09:00:47 +0000 Subject: Make sure global views don't match by default. --- repoze/bfg/tests/test_integration.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'repoze/bfg/tests/test_integration.py') 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 -- cgit v1.2.3