~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/whitebox.py

  • Committer: Martin Pool
  • Date: 2005-05-31 02:56:12 UTC
  • Revision ID: mbp@sourcefrog.net-20050531025612-1c84507625524411
- patch from Lalo Martins to show version of bzr itself
  in the --version output

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
from unittest import TestCase
6
6
import os, unittest
7
7
 
 
8
def Reporter(TestResult):
 
9
    def startTest(self, test):
 
10
        super(Reporter, self).startTest(test)
 
11
        print test.id(),
 
12
 
 
13
    def stopTest(self, test):
 
14
        print
 
15
 
8
16
class BranchPathTestCase(TestCase):
9
17
    """test for branch path lookups
10
18
 
63
71
            os.chdir(savedir)
64
72
            shutil.rmtree(dtmp)
65
73
 
 
74
 
66
75
                              
67
76
if __name__ == '__main__':
68
77
    unittest.main()