def test_sort_3(self): obj = utils.TimeSeriesHolder('k') obj['a'] = [ 1, ] obj['t'] = [ 3, ] obj['k'] = [ 2, ] self.assertEqual(['k', 't', 'a'], obj.GetSeriesList())
def test_create(self): obj = utils.TimeSeriesHolder('k') self.assertEqual([], list(obj.keys())) self.assertEqual('k', obj.TimeSeriesName)