def test_string(self):
     expected = {
         'type': 'COMMAND',
         'type_data': 'process_log',
         'data': {'info': 'Some info'},
     }
     self.assertEqual(info('Some info'), expected)
 def test_string(self):
     self.assertEqual(info('Some info'), '{"proc.info": "Some info"}')
Esempio n. 3
0
 def info(self, *args):
     """Log informational message."""
     report = resolwe_runtime_utils.info(' '.join([str(x) for x in args]))
     # TODO: Use the protocol to report progress.
     print(report)
Esempio n. 4
0
 def info(self, *args):
     """Log informational message."""
     report = resolwe_runtime_utils.info(' '.join([str(x) for x in args]))
     # TODO: Use the protocol to report progress.
     print(report)
 def test_string(self):
     self.assertEqual(info('Some info'), '{"proc.info": "Some info"}')