441
441
old_path = bzrlib.plugins.__path__
442
442
old_env = os.environ.get('BZR_PLUGIN_PATH')
451
450
bzrlib.plugins.__path__ = []
452
451
os.environ['BZR_PLUGIN_PATH'] = "first\\//\\" + os.pathsep + \
454
453
bzrlib.plugin.set_plugins_path()
456
456
self.assertEqual(expected_path,
457
457
bzrlib.plugins.__path__[:len(expected_path)])