def test_user_not_in_conversation(self): with self.assertRaises(SkygearChatException) as cm: handle_message_before_save(self.record(), None, self.conn)
def test_user_not_in_conversation(self): with self.assertRaises(SkygearChatException) as cm: handle_message_before_save( self.record(), None, self.conn)
def test_original_record_is_not_none(self): with self.assertRaises(SkygearChatException) as cm: handle_message_before_save(self.record(), self.original_record(), self.conn)
def test_original_record_is_not_none(self): with self.assertRaises(SkygearChatException) as cm: handle_message_before_save( self.record(), self.original_record(), self.conn)