/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_selftest.py

  • Committer: Robert J. Tanner
  • Date: 2009-04-28 23:20:23 UTC
  • mfrom: (4309 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4310.
  • Revision ID: tanner@real-time.com-20090428232023-9oevb3ggwhjaxgmp
[merge] bzr-1.13.2 back to trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
102
102
        test = ProtocolTestCase(stream)
103
103
        result = unittest.TestResult()
104
104
        test.run(result)
105
 
        # 1 to deal with the 'test:' noise at the start, and 1 for the one we
106
 
        # ran.
107
 
        self.assertEqual(2, result.testsRun)
 
105
        self.assertEqual(1, result.testsRun)
108
106
 
109
107
 
110
108
class TestRunBzr(ExternalBase):
198
196
        finally:
199
197
            TestCaseWithMemoryTransport.TEST_ROOT = old_root
200
198
        self.assertContainsRe(out, 'Ran 0 tests.*\n\nOK')
201
 
        self.assertEqual(
202
 
            'tests passed\n',
203
 
            err)
 
199
        self.assertContainsRe(out, 'tests passed\n')
204
200
        benchfile = open(".perf_history", "rt")
205
201
        try:
206
202
            lines = benchfile.readlines()