~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/__init__.py

  • Committer: Robert Collins
  • Date: 2005-10-12 07:28:41 UTC
  • Revision ID: robertc@lifelesslap.robertcollins.net-20051012072841-ffbcdc4c5285b374
revert symlinks correctly

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
import bzrlib.commands
31
31
import bzrlib.trace
32
32
import bzrlib.fetch
 
33
import bzrlib.osutils as osutils
33
34
from bzrlib.selftest import TestUtil
34
35
from bzrlib.selftest.TestUtil import TestLoader, TestSuite
35
36
 
395
396
 
396
397
    def failUnlessExists(self, path):
397
398
        """Fail unless path, which may be abs or relative, exists."""
398
 
        self.failUnless(os.path.exists(path))
 
399
        self.failUnless(osutils.lexists(path))
399
400
        
400
401
 
401
402
class MetaTestLog(TestCase):