We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f12df17 commit f383d64Copy full SHA for f383d64
1 file changed
tests/test_sys_message.py
@@ -26,8 +26,10 @@ def setup():
26
27
28
def test_sys_message():
29
+ conv = Conversation('testConversation', is_system=True)
30
+ conv.save()
31
msg = SysMessage()
- msg.set('conv', Conversation.create_without_data('testconversationid'))
32
+ msg.set('conv', conv)
33
msg.set('bin', False)
34
msg.set('msgId', 'testmsgid')
35
msg.set('from', 'testfromclient')
0 commit comments