~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

  • Committer: John Arbash Meinel
  • Date: 2005-12-01 19:12:30 UTC
  • mto: (1185.50.19 bzr-jam-integration)
  • mto: This revision was merged to the branch mainline in revision 1532.
  • Revision ID: john@arbash-meinel.com-20051201191230-a2ba94c380e11863
Replacing os.getcwdu() with osutils.getcwd(),
fixing config test which expected config_dir() to have a specific path

Show diffs side-by-side

added added

removed removed

Lines of Context:
513
513
        os.mkdir(self.test_dir)
514
514
        os.chdir(self.test_dir)
515
515
        os.environ['HOME'] = self.test_dir
 
516
        os.environ['APPDATA'] = self.test_dir
516
517
        def _leaveDirectory():
517
518
            os.chdir(_currentdir)
518
519
        self.addCleanup(_leaveDirectory)