/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/__init__.py

  • Committer: Vincent Ladeuil
  • Date: 2007-09-24 08:46:35 UTC
  • mto: (2851.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 2852.
  • Revision ID: v.ladeuil+lp@free.fr-20070924084635-j9jaa8543zsjs7x7
Review feedback.

* bzrlib/tests/test_sftp_transport.py:
(SFTPTransportTestRelative.test__remote_path): Add comment to
knownFailure.

* bzrlib/tests/test_bundle.py:
(BundleTester.test_unicode_bundle): Associate bug 141438 to
knownFailure.

* bzrlib/tests/__init__.py:
(TestCase.assertIsSameRealPath): Show apparent paths in addition
to real paths.

Show diffs side-by-side

added added

removed removed

Lines of Context:
984
984
 
985
985
    def assertIsSameRealPath(self, path1, path2):
986
986
        """Fail if path1 and path2 points to different files"""
987
 
        self.assertEqual(bzrlib.osutils.realpath(path1),
988
 
                         bzrlib.osutils.realpath(path2))
 
987
        self.assertEqual(osutils.realpath(path1),
 
988
                         osutils.realpath(path2),
 
989
                         "apparent paths:\na = %s\nb = %s\n," % (path1, path2))
989
990
 
990
991
    def assertIsInstance(self, obj, kls):
991
992
        """Fail if obj is not an instance of kls"""