Exemple #1
0
 def append(self, test_uid, record):
   """Append a new record associated with the given test uid."""
   entry = HistoryEntry(test_uid, record)
   self.entries.appendleft(entry)
   self.entry_bytes += data.total_size(entry)
Exemple #2
0
 def append(self, test_uid, record):
     """Append a new record associated with the given test uid."""
     entry = HistoryEntry(test_uid, record)
     self.entries.appendleft(entry)
     self.entry_bytes += data.total_size(entry)
Exemple #3
0
 def pop(self):
   """Pop the oldest record and return the test_uid it was associated with."""
   popped_entry = self.entries.pop()
   self.entry_bytes -= data.total_size(popped_entry)
   return popped_entry.test_uid
Exemple #4
0
 def pop(self):
     """Pop the oldest record and return the test_uid it was associated with."""
     popped_entry = self.entries.pop()
     self.entry_bytes -= data.total_size(popped_entry)
     return popped_entry.test_uid