Exemple #1
0
 def test_big_list(self):
     indices = []
     for i in range(100, 150):
         indices.append(
             "superlongindexnamebyanystandardyouchoosethisissillyhowbigcanthisgetbeforeitbreaks"
             + str(i))
     self.assertEqual(2, len(curator.chunk_index_list(indices)))
Exemple #2
0
 def test_small_list(self):
     self.assertEqual(
         1, len(curator.chunk_index_list(['short', 'list', 'of',
                                          'indices'])))
Exemple #3
0
 def test_small_list(self):
     self.assertEqual(1, len(curator.chunk_index_list(['short','list','of','indices'])))
Exemple #4
0
 def test_big_list(self):
     indices = []
     for i in range(100,150):
         indices.append("superlongindexnamebyanystandardyouchoosethisissillyhowbigcanthisgetbeforeitbreaks" + str(i))
     self.assertEqual(2, len(curator.chunk_index_list(indices)))