diff options
| author | Chris McDonough <chrism@plope.com> | 2012-11-14 01:28:57 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2012-11-14 01:28:57 -0500 |
| commit | c495e90e8d197ff5d9242bd2368d7579d993bd51 (patch) | |
| tree | 57d27fda33622b35da18a2d07b14e06acd17447c | |
| parent | e7ed9501e69307028569ec5cb2a4c0a1285acfbe (diff) | |
| download | pyramid-c495e90e8d197ff5d9242bd2368d7579d993bd51.tar.gz pyramid-c495e90e8d197ff5d9242bd2368d7579d993bd51.tar.bz2 pyramid-c495e90e8d197ff5d9242bd2368d7579d993bd51.zip | |
make an assertion in this test
| -rw-r--r-- | pyramid/tests/test_scripts/test_proutes.py | 3 |
1 files changed, 3 insertions, 0 deletions
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('<unknown>' in ''.join(L)) def test_bad_args(self): cmd = self._getTargetClass()([]) |
