~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_transform.py

Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
from bzrlib.tests import TestCaseInTempDir, TestSkipped, TestCase
38
38
from bzrlib.transform import (TreeTransform, ROOT_PARENT, FinalPaths, 
39
39
                              resolve_conflicts, cook_conflicts, 
40
 
                              find_interesting, build_tree, get_backup_name)
 
40
                              find_interesting, build_tree, get_backup_name,
 
41
                              change_entry)
41
42
 
42
43
 
43
44
class TestTreeTransform(tests.TestCaseWithTransport):
942
943
        transform.cancel_creation(parent)
943
944
        transform.finalize()
944
945
 
 
946
    def test_change_entry(self):
 
947
        txt = 'bzrlib.transform.change_entry was deprecated in version 0.19.'
 
948
        self.callDeprecated([txt], change_entry, None, None, None, None, None,
 
949
            None, None, None)
 
950
 
945
951
 
946
952
class TransformGroup(object):
947
953
    def __init__(self, dirname, root_id):