~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_merge_directive.py

merge aaron's empty merge directive fix

Show diffs side-by-side

added added

removed removed

Lines of Context:
111
111
        self.assertRaises(errors.NotAMergeDirective,
112
112
                          merge_directive.MergeDirective.from_lines, 'lala')
113
113
 
 
114
    def test_deserialize_empty(self):
 
115
        self.assertRaises(errors.NotAMergeDirective,
 
116
                          merge_directive.MergeDirective.from_lines, [])
 
117
 
114
118
    def test_deserialize_leading_junk(self):
115
119
        md = merge_directive.MergeDirective.from_lines(INPUT1)
116
120
        self.assertEqual('example:', md.revision_id)