/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 bzrlib/tests/test_transform.py

Added final_parent function

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
            self.assertRaises(DuplicateKey, transform.version_file,
27
27
                              'my_pretties', trans_id)
28
28
            self.assertEqual(transform.final_file_id(trans_id), 'my_pretties')
 
29
            self.assertEqual(transform.final_parent(trans_id), root)
 
30
            self.assertIs(transform.final_parent(root), None)
29
31
            transform.apply()
30
32
            self.assertEqual('contents', file('name').read())
31
33
            self.assertEqual(wt.path2id('name'), 'my_pretties')