Exemple #1
0
 def testProcessAnnotationsToGetStreamNoStepMetadta(self):
     step = _CreateProtobufMessage(self.step_name, self.stdout_stream,
                                   self.step_metadata_stream, 'step')
     log_stream = logdog_util._GetStreamForStep(self.step_name, step,
                                                'step_metadata')
     self.assertIsNone(log_stream)
Exemple #2
0
 def testProcessAnnotationsToGetStreamForStdout(self):
     step_proto = _CreateProtobufMessage(self.step_name, self.stdout_stream,
                                         self.step_metadata_stream)
     log_stream = logdog_util._GetStreamForStep(self.step_name, step_proto)
     self.assertEqual(log_stream, self.stdout_stream)