/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/__init__.py

  • Committer: Robert Collins
  • Date: 2010-05-06 23:54:05 UTC
  • mto: This revision was merged to the branch mainline in revision 5223.
  • Revision ID: robertc@robertcollins.net-20100506235405-wii4elupfhzl3jvy
Add __str__ to the new helper classes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
112
112
from bzrlib.tests import (
113
113
    test_server,
114
114
    TestUtil,
115
 
    treeshape,
116
115
    )
117
116
from bzrlib.tests.http_server import HttpServer
118
117
from bzrlib.tests.TestUtil import (
119
118
                          TestSuite,
120
119
                          TestLoader,
121
120
                          )
 
121
from bzrlib.tests.treeshape import build_tree_contents
122
122
from bzrlib.ui import NullProgressView
123
123
from bzrlib.ui.text import TextUIFactory
124
124
import bzrlib.version_info_formats.format_custom
2578
2578
                content = "contents of %s%s" % (name.encode('utf-8'), end)
2579
2579
                transport.put_bytes_non_atomic(urlutils.escape(name), content)
2580
2580
 
2581
 
    build_tree_contents = treeshape.build_tree_contents
 
2581
    def build_tree_contents(self, shape):
 
2582
        build_tree_contents(shape)
2582
2583
 
2583
2584
    def assertInWorkingTree(self, path, root_path='.', tree=None):
2584
2585
        """Assert whether path or paths are in the WorkingTree"""
3733
3734
        'bzrlib.tests.test_lru_cache',
3734
3735
        'bzrlib.tests.test_lsprof',
3735
3736
        'bzrlib.tests.test_mail_client',
 
3737
        'bzrlib.tests.test_matchers',
3736
3738
        'bzrlib.tests.test_memorytree',
3737
3739
        'bzrlib.tests.test_merge',
3738
3740
        'bzrlib.tests.test_merge3',