~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test__walkdirs_win32.py

  • Committer: Jelmer Vernooij
  • Date: 2011-09-26 15:21:01 UTC
  • mfrom: (6165.2.3 avoid-revision-history)
  • mto: This revision was merged to the branch mainline in revision 6216.
  • Revision ID: jelmer@samba.org-20110926152101-afcxw1hikybyivfd
merge avoid-revision-history.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2008 Canonical Ltd
 
1
# Copyright (C) 2008, 2009, 2010 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
22
22
    osutils,
23
23
    tests,
24
24
    )
25
 
 
26
 
 
27
 
win32_readdir_feature = tests.ModuleAvailableFeature('bzrlib._walkdirs_win32')
 
25
from bzrlib.tests import (
 
26
    features,
 
27
    )
 
28
 
 
29
 
 
30
win32_readdir_feature = features.ModuleAvailableFeature('bzrlib._walkdirs_win32')
28
31
 
29
32
 
30
33
class TestWin32Finder(tests.TestCaseInTempDir):
74
77
        self.assertReadDir([('foo', 'foo', 'file', u'./foo')],
75
78
            '', u'.')
76
79
 
77
 
    def test_dir(self):
 
80
    def test_directory(self):
78
81
        self.build_tree(['bar/'])
79
82
        self.assertReadDir([('bar', 'bar', 'directory', u'./bar')],
80
83
            '', u'.')