38
38
self.addCleanup(source.unlock)
39
39
source.nick = 'my special nick'
40
41
self.commit_transform(source, self.make_transform(source))
41
42
mirror = create_mirror(source, 'target', [])
42
43
self.assertEqual(source.last_revision(), mirror.last_revision())
43
44
self.assertEqual(source.base, mirror.get_public_branch())
44
45
self.assertEqual(source.base, mirror.get_parent())
45
46
self.assertEqual('my special nick', mirror.nick)
47
49
def test_nonexplict_nick(self):
48
50
source = self.make_branch('source')