示例#1
0
 def get_history_after(self, test_uid, start_time_millis):
   """Get a list of pickled TestRecords for test_uid from the History."""
   _LOG.debug('RPC:get_history_after(%s)', start_time_millis)
   # TODO(madsci): We really should pull attachments out of band here.
   return [xmlrpclib.Binary(pickle.dumps(test_record))
           for test_record in history.for_test_uid(
               test_uid, start_after_millis=start_time_millis)]
示例#2
0
 def get_history_after(self, test_uid, start_time_millis):
   """Get a list of TestRecords for test_uid from the History."""
   _LOG.debug('RPC:get_history_after(%s)', start_time_millis)
   # TODO(madsci): We really should pull attachments out of band here.
   return [data.convert_to_base_types(test_record)
           for test_record in history.for_test_uid(
               test_uid, start_after_millis=start_time_millis)]
示例#3
0
 def get_history_after(self, test_uid, start_time_millis):
   """Get a list of TestRecords for test_uid from the History."""
   _LOG.debug('RPC:get_history_after(%s)', start_time_millis)
   # TODO(madsci): We really should pull attachments out of band here.
   return [data.convert_to_base_types(test_record)
           for test_record in history.for_test_uid(
               test_uid, start_after_millis=start_time_millis)]