~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/blackbox.py

  • Committer: Robert Collins
  • Date: 2005-10-04 03:35:31 UTC
  • mfrom: (1393.1.30)
  • Revision ID: robertc@robertcollins.net-20051004033531-f057603b470ca4a2
merge from mpool

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
 
35
35
from bzrlib.selftest import TestCaseInTempDir, BzrTestBase
36
36
from bzrlib.branch import Branch
 
37
from bzrlib.osutils import has_symlinks
37
38
 
38
39
 
39
40
class ExternalBase(TestCaseInTempDir):
408
409
        err.index('unknown command')
409
410
        
410
411
 
411
 
 
412
 
def has_symlinks():
413
 
    if hasattr(os, 'symlink'):
414
 
        return True
415
 
    else:
416
 
        return False
417
 
 
418
412
def listdir_sorted(dir):
419
413
    L = os.listdir(dir)
420
414
    L.sort()