summaryrefslogtreecommitdiff
path: root/repoze/bfg/tests
diff options
context:
space:
mode:
Diffstat (limited to 'repoze/bfg/tests')
-rw-r--r--repoze/bfg/tests/test_configuration.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/repoze/bfg/tests/test_configuration.py b/repoze/bfg/tests/test_configuration.py
index 0cb8ff5e8..a4a30c7e7 100644
--- a/repoze/bfg/tests/test_configuration.py
+++ b/repoze/bfg/tests/test_configuration.py
@@ -1510,8 +1510,9 @@ class ConfiguratorTests(unittest.TestCase):
def test_add_route_defaults(self):
config = self._makeOne()
- config.add_route('name', 'path')
+ route = config.add_route('name', 'path')
self._assertRoute(config, 'name', 'path')
+ self.assertEqual(route.name, 'name')
def test_add_route_with_xhr(self):
config = self._makeOne()