def testRevisionList(self): test_key = self._AddSampleData() rows = debug_alert._FetchRowsAroundRev(test_key.get(), 310, 5, 5) # The lookup dict maps indexes to x-values in the input series. self.assertEqual( [306, 307, 308, 309, 310, 311, 312, 313, 314, 315], debug_alert._RevisionList(rows))
def testRevisionList(self): test_key = self._AddSampleData() rows = debug_alert._FetchRowsAroundRev(test_key.get(), 310, 5, 5) # The lookup dict maps indexes to x-values in the input series. self.assertEqual( [306, 307, 308, 309, 310, 311, 312, 313, 314, 315], debug_alert._RevisionList(rows))