Merge lp:~lifeless/subunit/done into lp:~subunit/subunit/trunk

Proposed by Robert Collins
Status: Merged
Approved by: Jonathan Lange
Approved revision: 65
Merged at revision: not available
Proposed branch: lp:~lifeless/subunit/done
Merge into: lp:~subunit/subunit/trunk
Diff against target: None lines
To merge this branch: bzr merge lp:~lifeless/subunit/done
Reviewer Review Type Date Requested Status
Jonathan Lange Approve
Jelmer Vernooij Approve
Review via email: mp+5346@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Robert Collins (lifeless) wrote :

Its good. Vote now for world peace.

Revision history for this message
Jelmer Vernooij (jelmer) :
review: Approve
Revision history for this message
Jonathan Lange (jml) wrote :

Win.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'README'
2--- README 2009-02-28 09:27:25 +0000
3+++ README 2009-04-07 21:28:28 +0000
4@@ -121,7 +121,7 @@
5 def test_suite():
6 result = subunit.IsolatedTestSuite()
7 loader = unittest.TestLoader()
8- result.addTestCase(loader.loadTestsFromName(__name__))
9+ result.addTest(loader.loadTestsFromName(__name__))
10 return result
11
12 # you can test the result of test_suite() as follows (or in any normal Python
13
14=== modified file 'python/subunit/__init__.py'
15--- python/subunit/__init__.py 2009-03-18 09:33:42 +0000
16+++ python/subunit/__init__.py 2009-04-08 13:00:52 +0000
17@@ -342,6 +342,9 @@
18 """Mark a test as starting its test run."""
19 self._stream.write("test: %s\n" % test.id())
20
21+ def done(self):
22+ """Obey the testtools result.done() interface."""
23+
24
25 def RemoteError(description=""):
26 if description == "":

Subscribers

People subscribed via source and target branches