~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-04-23 04:16:29 UTC
  • mfrom: (1739.1.8 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20070423041629-v7moohhajrjbc2xw
(robertc) Mark bzrlib.tests and bzrlib.tests.TestUtil 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 = []