diff -r 70b4a5e90eb0 -r 43a02512ebf7 tests/app/soc/logic/test_allocations.py --- a/tests/app/soc/logic/test_allocations.py Thu Apr 09 22:05:07 2009 +0000 +++ b/tests/app/soc/logic/test_allocations.py Thu Apr 09 22:05:44 2009 +0000 @@ -66,7 +66,7 @@ self.max_slots_per_org = 40 self.min_slots_per_org = 2 self.allocated = 0 - self.iterative = False + self.algorithm = 1 apps = { 'asf': (20, 20), @@ -83,7 +83,7 @@ self.allocater = allocations.Allocator( self.orgs, self.popularity, self.mentors, self.slots, - self.max_slots_per_org, self.min_slots_per_org, self.iterative) + self.max_slots_per_org, self.min_slots_per_org, self.algorithm) def testInitialAllocation(self): """Test that an allocation with no arguments does not crash.