~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_plugins.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:
656
656
                    self.fail('No path to global plugins')
657
657
 
658
658
    def test_get_standard_plugins_path_env(self):
659
 
        os.environ['BZR_PLUGIN_PATH'] = 'foo/'
 
659
        self.overrideEnv('BZR_PLUGIN_PATH', 'foo/')
660
660
        path = plugin.get_standard_plugins_path()
661
661
        for directory in path:
662
662
            self.assertNotContainsRe(directory, r'\\/$')