~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/blackbox.py

  • Committer: Martin Pool
  • Date: 2005-10-04 02:54:54 UTC
  • mfrom: (1399.1.12)
  • mto: (1185.13.3)
  • mto: This revision was merged to the branch mainline in revision 1400.
  • Revision ID: mbp@sourcefrog.net-20051004025454-a8da093aebf1fb24
[merge] refactoring from robert to use different Entry classes
for files, directories, etc.

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