From c495e90e8d197ff5d9242bd2368d7579d993bd51 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 14 Nov 2012 01:28:57 -0500 Subject: make an assertion in this test --- pyramid/tests/test_scripts/test_proutes.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyramid/tests/test_scripts/test_proutes.py b/pyramid/tests/test_scripts/test_proutes.py index 0b95729a6..25a3cd2e3 100644 --- a/pyramid/tests/test_scripts/test_proutes.py +++ b/pyramid/tests/test_scripts/test_proutes.py @@ -19,7 +19,10 @@ class TestPRoutesCommand(unittest.TestCase): route = dummy.DummyRoute('a', '/a') mapper = dummy.DummyMapper(route) cmd._get_mapper = lambda *arg: mapper + L = [] + cmd.out = lambda msg: L.append(msg) cmd.run() + self.assertTrue('' in ''.join(L)) def test_bad_args(self): cmd = self._getTargetClass()([]) -- cgit v1.2.3