/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: Robert Collins
  • Date: 2007-09-27 21:11:38 UTC
  • mfrom: (2871 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2879.
  • Revision ID: robertc@robertcollins.net-20070927211138-ebsu1bo1qz9f1w8n
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
import bzrlib.help
33
33
from bzrlib.symbol_versioning import zero_ninetyone
34
34
from bzrlib.tests import TestCase, TestCaseInTempDir
35
 
from bzrlib.osutils import pathjoin, abspath
 
35
from bzrlib.osutils import pathjoin, abspath, normpath
36
36
 
37
37
 
38
38
PLUGIN_TEXT = """\
241
241
        plugins = bzrlib.plugin.plugins()
242
242
        plugin = plugins['plugin']
243
243
        plugin_path = self.test_dir + '/plugin.py'
244
 
        self.assertEqual(plugin_path, plugin.path())
 
244
        self.assertIsSameRealPath(plugin_path, normpath(plugin.path()))
245
245
 
246
246
    def test_no_test_suite_gives_None_for_test_suite(self):
247
247
        self.setup_plugin()