~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_plugins.py

  • Committer: Alexander Belchenko
  • Date: 2007-09-06 11:59:59 UTC
  • mto: (2839.6.2 3)
  • mto: This revision was merged to the branch mainline in revision 2884.
  • Revision ID: bialix@ukr.net-20070906115959-512lrh7jb9rll98d
some win32-specific fixes for selftest

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.assertEqual(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()