~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_transform.py

Merge with get_file_sha1

Show diffs side-by-side

added added

removed removed

Lines of Context:
2053
2053
                          (False, False))],
2054
2054
                          list(preview_tree.iter_changes(revision_tree)))
2055
2055
 
2056
 
    def test_wrong_tree_value_error(self):
2057
 
        revision_tree, preview_tree = self.get_tree_and_preview_tree()
2058
 
        e = self.assertRaises(ValueError, preview_tree.iter_changes,
2059
 
                              preview_tree)
2060
 
        self.assertEqual('from_tree must be transform source tree.', str(e))
2061
 
 
2062
2056
    def test_include_unchanged_value_error(self):
2063
2057
        revision_tree, preview_tree = self.get_tree_and_preview_tree()
2064
2058
        e = self.assertRaises(ValueError, preview_tree.iter_changes,