156
156
except errors.TagsNotSupported:
157
157
raise TestNotApplicable('format does not support tags.')
158
158
source.tags.set_tag('tag-a', 'rev-2')
160
161
# The tag is present, and so is its revision.
161
162
self.assertEqual('rev-2', target.tags.lookup_tag('tag-a'))