예제 #1
0
 def test_empty_grouped(self):
     empty_group = []
     groups = grouped(empty_group, self.number_in_group)
     self.assertEquals(len(groups), 0)
예제 #2
0
 def test_empty_grouped(self):
     empty_group = []
     groups = grouped(empty_group, self.number_in_group)
     self.assertEquals(len(groups), 0)
예제 #3
0
 def test_grouped(self):
     groups = grouped(self.group, self.number_in_group)
     self.assertEquals(len(groups), 2)
예제 #4
0
 def test_grouped(self):
     groups = grouped(self.group, self.number_in_group)
     self.assertEquals(len(groups), 2)