refine reporting with --pdb some more

--HG--
branch : trunk
This commit is contained in:
holger krekel
2010-06-17 12:53:29 +02:00
parent 3f1efe1b57
commit 149f9e1042
3 changed files with 8 additions and 2 deletions

View File

@@ -50,7 +50,9 @@ class TestPDB:
child.expect(".*i = 0")
child.expect("(Pdb)")
child.sendeof()
child.expect("1 failed")
rest = child.read()
assert "1 failed" in rest
assert "def test_1" not in rest
if child.isalive():
child.wait()