/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/tests/blackbox/test_deleted.py

  • Committer: Jelmer Vernooij
  • Date: 2020-05-24 00:42:36 UTC
  • mto: This revision was merged to the branch mainline in revision 7505.
  • Revision ID: jelmer@jelmer.uk-20200524004236-jdj6obo4k5lznqw2
Cleanup Windows functions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2010 Canonical Ltd
 
1
# Copyright (C) 2010, 2016 Canonical Ltd
2
2
# -*- coding: utf-8 -*-
3
3
#
4
4
# This program is free software; you can redistribute it and/or modify
16
16
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17
17
 
18
18
 
19
 
"""Black-box tests for 'bzr deleted', which shows newly deleted files."""
 
19
"""Black-box tests for 'brz deleted', which shows newly deleted files."""
20
20
 
21
21
import os
22
22
 
23
 
from bzrlib.branch import Branch
24
 
from bzrlib.tests.blackbox import ExternalBase
25
 
 
26
 
 
27
 
class TestDeleted(ExternalBase):
 
23
from breezy.branch import Branch
 
24
from breezy.tests import TestCaseWithTransport
 
25
 
 
26
 
 
27
class TestDeleted(TestCaseWithTransport):
28
28
 
29
29
    def test_deleted_directory(self):
30
30
        """Test --directory option"""
34
34
        tree.commit('r1')
35
35
        tree.remove('README')
36
36
        out, err = self.run_bzr(['deleted', '--directory=a'])
37
 
        self.assertEquals('README\n', out)
 
37
        self.assertEqual('README\n', out)