53
53
metadata = BzrGitRevisionMetadata()
54
54
metadata.revision_id = "bla"
55
55
self.assertEquals("revision-id: bla\n",
58
58
def test_parent_ids(self):
59
59
metadata = BzrGitRevisionMetadata()
60
60
metadata.explicit_parent_ids = ("foo", "bar")
61
61
self.assertEquals("parent-ids: foo bar\n",
64
64
def test_properties(self):
65
65
metadata = BzrGitRevisionMetadata()
66
66
metadata.properties = {"foo": "bar"}
67
67
self.assertEquals("property-foo: bar\n",
76
71
class ExtractMetadataTests(TestCase):