~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

  • Committer: Martin Pool
  • Date: 2007-06-15 07:00:05 UTC
  • mto: This revision was merged to the branch mainline in revision 2530.
  • Revision ID: mbp@sourcefrog.net-20070615070005-zazxgg6r00wivdlm
Run exitfuncs explicitly before exiting

Show diffs side-by-side

added added

removed removed

Lines of Context:
1857
1857
        For TestCaseInTempDir we create a temporary directory based on the test
1858
1858
        name and then create two subdirs - test and home under it.
1859
1859
        """
 
1860
        # create a directory within the top level test directory
1860
1861
        candidate_dir = tempfile.mkdtemp(dir=self.TEST_ROOT)
1861
1862
        # now create test and home directories within this dir
1862
1863
        self.test_base_dir = candidate_dir