~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_version.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-09-18 02:51:19 UTC
  • mfrom: (4691.2.5 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20090918025119-eqkrmtj09t2hqs2t
(robertc) Add test suite enforcement of BzrDir objects outside the
        test area. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
    def test_get_bzr_source_tree(self):
26
26
        """Get tree for bzr source, if any."""
 
27
        self.permit_source_tree_branch_repo()
27
28
        # We don't know if these tests are being run from a checkout or branch
28
29
        # of bzr, from an installed copy, or from source unpacked from a
29
30
        # tarball.  We don't construct a branch just for testing this, so we