~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 2823.1.4.

  • Committer: Vincent Ladeuil
  • Date: 2007-09-17 12:34:31 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-20070917123431-065warglku51y822
Use assertIsSameRealPath to avoid OSX aliasing (specifically /tmp
-> /private/tmp).

* bzrlib/tests/__init__.py:
(TestCase.assertIsSameRealPath): New method resolving symlinks
before comparing paths.

* bzrlib/tests/test_selftest.py:
(TestTestCaseInTempDir.test_home_is_not_working,
TestTestCaseWithMemoryTransport.test_home_is_non_existant_dir_under_root,
TestTestCaseWithMemoryTransport.test_cwd_is_TEST_ROOT): Use
assertIsSameRealPath.

* bzrlib/tests/test_plugins.py:
(TestPlugins.test_trivial_plugin_get_path): Use assertIsSameRealPath.

* bzrlib/tests/test_sftp_transport.py:
(SFTPTransportTestRelative.test__remote_path): The test should be
totally rewritten for OSX. Marking it as know failure in the
interim.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: