~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/workingtree_implementations/test_is_control_filename.py

  • Committer: John Arbash Meinel
  • Author(s): Mark Hammond
  • Date: 2008-09-09 17:02:21 UTC
  • mto: This revision was merged to the branch mainline in revision 3697.
  • Revision ID: john@arbash-meinel.com-20080909170221-svim3jw2mrz0amp3
An updated transparent icon for bzr.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
#
14
14
# You should have received a copy of the GNU General Public License
15
15
# along with this program; if not, write to the Free Software
16
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
16
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
17
 
 
18
import os
17
19
 
18
20
from bzrlib.osutils import basename
19
 
from bzrlib.tests.per_workingtree import TestCaseWithWorkingTree
 
21
from bzrlib.tests.workingtree_implementations import TestCaseWithWorkingTree
20
22
 
21
23
 
22
24
class TestIsControlFilename(TestCaseWithWorkingTree):
32
34
    def test_dotbzr_is_control_in_cwd(self):
33
35
        tree = self.make_branch_and_tree('.')
34
36
        self.validate_tree_is_controlfilename(tree)
35
 
 
 
37
        
36
38
    def test_dotbzr_is_control_in_subdir(self):
37
39
        tree = self.make_branch_and_tree('subdir')
38
40
        self.validate_tree_is_controlfilename(tree)
39
 
 
 
41