summaryrefslogtreecommitdiff
path: root/testrepository/tests
diff options
context:
space:
mode:
authorRobert Collins <robertc@robertcollins.net>2012-12-06 18:19:18 +1300
committerRobert Collins <robertc@robertcollins.net>2012-12-06 18:19:18 +1300
commitd5ed641c0e6f5a5cb86c988c8cdf964ec789ca60 (patch)
tree2993551af30a10974cb43c2c55e4782cc315b6d3 /testrepository/tests
parent0b2787c76e14cef0fbc1ec380897396f14ac5771 (diff)
downloadtestrepository-d5ed641c0e6f5a5cb86c988c8cdf964ec789ca60.tar.gz
Make failing --subunit always output 0 and document process exit codes for last and failing.
Diffstat (limited to 'testrepository/tests')
-rw-r--r--testrepository/tests/commands/test_failing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testrepository/tests/commands/test_failing.py b/testrepository/tests/commands/test_failing.py
index ba84592..9d6ab91 100644
--- a/testrepository/tests/commands/test_failing.py
+++ b/testrepository/tests/commands/test_failing.py
@@ -84,7 +84,7 @@ class TestCommand(ResourcedTestCase):
Cases('failing').run(inserter)
Cases('ok').run(inserter)
inserter.stopTestRun()
- self.assertEqual(1, cmd.execute())
+ self.assertEqual(0, cmd.execute())
self.assertEqual(1, len(ui.outputs))
self.assertEqual('stream', ui.outputs[0][0])
self.assertThat(ui.outputs[0][1], DocTestMatches("""...test: ...failing