3448
3450
return self.make_records(attribs, contents)
3450
3452
def test_serialize_symlink_creation(self):
3453
3455
tt.new_symlink(u'foo\u1234', tt.root, u'bar\u1234')
3454
3456
self.assertSerializesTo(self.symlink_creation_records(), tt)
3456
3458
def test_deserialize_symlink_creation(self):
3459
3461
tt.deserialize(iter(self.symlink_creation_records()))
3460
3462
abspath = tt._limbo_name('new-1')