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)))
def test_small_list(self): self.assertEqual( 1, len(curator.chunk_index_list(['short', 'list', 'of', 'indices'])))
def test_small_list(self): self.assertEqual(1, len(curator.chunk_index_list(['short','list','of','indices'])))
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)))