/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 brzlib/tests/test_version.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-21 18:06:19 UTC
  • mto: This revision was merged to the branch mainline in revision 6623.
  • Revision ID: jelmer@jelmer.uk-20170521180619-5qoo0470asgdnljt
Fix more tests (all?)

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
 
34
34
class TestBzrlibVersioning(tests.TestCase):
35
35
 
36
 
    def test_get_bzr_source_tree(self):
 
36
    def test_get_brz_source_tree(self):
37
37
        """Get tree for bzr source, if any."""
38
38
        self.permit_source_tree_branch_repo()
39
39
        # We don't know if these tests are being run from a checkout or branch
40
40
        # of bzr, from an installed copy, or from source unpacked from a
41
41
        # tarball.  We don't construct a branch just for testing this, so we
42
42
        # just assert that it must either return None or the tree.
43
 
        src_tree = version._get_bzr_source_tree()
 
43
        src_tree = version._get_brz_source_tree()
44
44
        if src_tree is None:
45
45
            raise tests.TestSkipped(
46
46
                "bzr tests aren't run from a bzr working tree")