/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_plugins.py

  • Committer: Aaron Bentley
  • Date: 2008-04-12 06:46:35 UTC
  • mfrom: (3363 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3364.
  • Revision ID: aaron@aaronbentley.com-20080412064635-fs97gk4682bhefnf
merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
447
447
            bzrlib.plugin.set_plugins_path()
448
448
            expected_path = ['first', 'second',
449
449
                os.path.dirname(bzrlib.plugins.__file__)]
450
 
            self.assertEqual(expected_path, bzrlib.plugins.__path__)
 
450
            self.assertEqual(expected_path,
 
451
                bzrlib.plugins.__path__[:len(expected_path)])
451
452
        finally:
452
453
            bzrlib.plugins.__path__ = old_path
453
454
            if old_env != None:
455
456
            else:
456
457
                del os.environ['BZR_PLUGIN_PATH']
457
458
 
 
459
 
458
460
class TestHelpIndex(tests.TestCase):
459
461
    """Tests for the PluginsHelpIndex class."""
460
462