/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

  • Committer: Vincent Ladeuil
  • Date: 2010-09-09 19:50:57 UTC
  • mto: (5409.5.5 backup-names)
  • mto: This revision was merged to the branch mainline in revision 5504.
  • Revision ID: v.ladeuil+lp@free.fr-20100909195057-hkvsb6k9zh1sqq7e
Clarify test intent and behaviour.

Show diffs side-by-side

added added

removed removed

Lines of Context:
821
821
        parent = tt.trans_id_file_id('parent-id')
822
822
        tt.new_file('file', parent, 'Contents')
823
823
        raw_conflicts = resolve_conflicts(tt)
 
824
        # Since the directory doesn't exist it's seen as missing to resolve
 
825
        # create a conflict asking for it to be created.
824
826
        self.assertLength(1, raw_conflicts)
825
827
        self.assertEqual(('missing parent', 'Created directory', 'new-1'),
826
828
                         raw_conflicts.pop())
 
829
        # apply fail since the missing directory doesn't exist
 
830
        self.assertRaises(errors.NoFinalPath, tt.apply)
827
831
 
828
832
    def test_moving_versioned_directories(self):
829
833
        create, root = self.get_transform()