summaryrefslogtreecommitdiff
path: root/repoze/bfg/tests/test_integration.py
diff options
context:
space:
mode:
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