/breezy/unstable

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy/unstable

« back to all changes in this revision

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

  • Committer: Jelmer Vernooij
  • Date: 2017-05-24 01:39:33 UTC
  • mfrom: (3815.3776.6)
  • Revision ID: jelmer@jelmer.uk-20170524013933-ir4y4tqtrsiz2ka2
New upstream snapshot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
# along with this program; if not, write to the Free Software
15
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
 
"""Black-box tests for bzr revert."""
 
17
"""Black-box tests for brz revert."""
18
18
 
19
19
import os
20
20
 
21
 
import bzrlib.osutils
22
 
from bzrlib.tests import TestCaseWithTransport
23
 
from bzrlib.trace import mutter
24
 
from bzrlib.workingtree import WorkingTree
 
21
import breezy.osutils
 
22
from breezy.tests import TestCaseWithTransport
 
23
from breezy.trace import mutter
 
24
from breezy.workingtree import WorkingTree
25
25
 
26
26
 
27
27
class TestRevert(TestCaseWithTransport):
142
142
        os.rmdir('revertdir')
143
143
        self.run_bzr('revert')
144
144
 
145
 
        if bzrlib.osutils.has_symlinks():
 
145
        if breezy.osutils.has_symlinks():
146
146
            os.symlink('/unlikely/to/exist', 'symlink')
147
147
            self.run_bzr('add symlink')
148
148
            self.run_bzr('commit -m f')