~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-03 05:16:47 UTC
  • mto: (1393.1.30)
  • mto: This revision was merged to the branch mainline in revision 1400.
  • Revision ID: robertc@robertcollins.net-20051003051646-8a92be7727c533ff
move diff and symlink conditionals into inventory.py from diff.py

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()