131
131
patch='booga', patch_type='diff')
132
132
md2 = merge_directive.MergeDirective.from_lines(md.to_lines())
133
133
self.assertEqual('example:', md2.revision_id)
134
135
self.assertEqual('sha', md2.testament_sha1)
135
136
self.assertEqual('http://example.com', md2.target_branch)
136
137
self.assertEqual('http://example.org', md2.source_branch)