~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_plugins.py

  • Committer: Vincent Ladeuil
  • Date: 2007-09-24 15:01:26 UTC
  • mfrom: (2853 +trunk)
  • mto: (2885.1.1 140432)
  • mto: This revision was merged to the branch mainline in revision 2886.
  • Revision ID: v.ladeuil+lp@free.fr-20070924150126-nll7i0385kisklyj
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()