~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_osutils.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-06-30 10:12:41 UTC
  • mfrom: (5273.1.11 cleanup)
  • Revision ID: pqm@pqm.ubuntu.com-20100630101241-gj9gnm31gj0ptaj7
(vila) Cleanup tests importing get_transport. (Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
861
861
        self.assertEqual('//HOST/path', osutils._win98_abspath('//HOST/path'))
862
862
        # relative path
863
863
        cwd = osutils.getcwd().rstrip('/')
864
 
        drive = osutils._nt_splitdrive(cwd)[0]
 
864
        drive = osutils.ntpath.splitdrive(cwd)[0]
865
865
        self.assertEqual(cwd+'/path', osutils._win98_abspath('path'))
866
866
        self.assertEqual(drive+'/path', osutils._win98_abspath('/path'))
867
867
        # unicode path