def test_update_group_message_serde() -> None:
    bob_vm = sy.VirtualMachine(name='Bob')
    target = Address(name='Alice')
    content = {'group-id': 'eqw9e4a5d846', 'group-name': 'Brain diseases group', 'members': ['user-id1', 'user-id2', 'user-id3'], 'data': [{'id': '264632213', 'permissions': 'read'}, {'id': '264613232', 'permissions': 'write'}, {'id': '896632213', 'permissions': 'read'}]}
    msg = UpdateGroupMessage(address=target, content=content, reply_to=bob_vm.address)
    blob = serialize(msg)
    msg2 = sy.deserialize(blob=blob)
    assert (msg.id == msg2.id)
    assert (msg.address == target)
    assert (msg.content == msg2.content)
    assert (msg == msg2)
def test_update_group_message_serde() -> None:
    bob_vm = sy.VirtualMachine(name='Bob')
    target = Address(name='Alice')
    content = {'group-id': 'eqw9e4a5d846', 'group-name': 'Brain diseases group', 'members': ['user-id1', 'user-id2', 'user-id3'], 'data': [{'id': '264632213', 'permissions': 'read'}, {'id': '264613232', 'permissions': 'write'}, {'id': '896632213', 'permissions': 'read'}]}
    msg = UpdateGroupMessage(address=target, content=content, reply_to=bob_vm.address)
    blob = serialize(msg)
    msg2 = sy.deserialize(blob=blob)
    assert (msg.id == msg2.id)
    assert (msg.address == target)
    assert (msg.content == msg2.content)
    assert (msg == msg2)