/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: Alexander Belchenko
  • Date: 2007-09-21 12:30:48 UTC
  • mto: (2846.2.1 approved.branch5)
  • mto: This revision was merged to the branch mainline in revision 2848.
  • Revision ID: bialix@ukr.net-20070921123048-l12m4d9h4tj8rzg6
using functions from osutils instead of os.path.*

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