~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_transport.py

More use cases for overrideEnv, _cleanEnvironment *may* contain too much variables now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
967
967
            bzr_remote_path = sys.executable + ' ' + self.get_bzr_path()
968
968
        else:
969
969
            bzr_remote_path = self.get_bzr_path()
970
 
        os.environ['BZR_REMOTE_PATH'] = bzr_remote_path
 
970
        self.overrideEnv('BZR_REMOTE_PATH', bzr_remote_path)
971
971
 
972
972
        # Access the branch via a bzr+ssh URL.  The BZR_REMOTE_PATH environment
973
973
        # variable is used to tell bzr what command to run on the remote end.