

def test_store_message(self):
    'JRPC test: services.communiations.storeMessage (2)\n\n        Validates the remote storage of a message through JRPC.\n        '
    if self.__verbose_testing:
        print('>>> test_store_message')
    op_slot = operational_models.OperationalSlot.objects.all()[0]
    message_id = comms_jrpc.store_message(slot_id=self.identifier, upwards=True, forwarded=True, timestamp=0, message=db_tools.MESSAGE_BASE64)
    message = comms_models.Message.objects.get(pk=message_id)
    self.maxDiff = None
    self.assertEquals(str.encode(message.message, 'UTF-8'), db_tools.MESSAGE_BASE64)

dataset/ETHPy150Open satnet-project/server/services/communications/tests/test_jrpc.py TestPassiveCommunications.test_store_message/VarMisuse@48/119 `op_slot`->`self`