tests/app/soc/logic/test_allocations.py
changeset 2139 43a02512ebf7
parent 2130 83f4fab7c556
child 2140 32b0731f0bf5
--- 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.