~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

  • Committer: Robert Collins
  • Date: 2007-03-30 06:32:16 UTC
  • mto: (1739.1.8 integration)
  • mto: This revision was merged to the branch mainline in revision 2444.
  • Revision ID: robertc@robertcollins.net-20070330063216-ug57fzsc4xzqi0hu
Mark bzrlib.tests as providing assertFOO helper functions by adding a __unittest global attribute. (Robert Collins, Andrew Bennetts, Martin Pool, Jonathan Lange)

Show diffs side-by-side

added added

removed removed

Lines of Context:
89
89
from bzrlib.tests.treeshape import build_tree_contents
90
90
from bzrlib.workingtree import WorkingTree, WorkingTreeFormat2
91
91
 
 
92
# Mark this python module as being part of the implementation
 
93
# of unittest: this gives us better tracebacks where the last
 
94
# shown frame is the test code, not our assertXYZ.
 
95
__unittest = 1
 
96
 
92
97
default_transport = LocalURLServer
93
98
 
94
99
MODULES_TO_TEST = []