Chris McDonough
2012-11-14 c495e90e8d197ff5d9242bd2368d7579d993bd51
make an assertion in this test
1 files modified
3 ■■■■■ changed files
pyramid/tests/test_scripts/test_proutes.py 3 ●●●●● patch | view | raw | blame | history
pyramid/tests/test_scripts/test_proutes.py
@@ -19,7 +19,10 @@
        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()([])