equal
deleted
inserted
replaced
218 adjusted_slots = {'gcc': 10} |
218 adjusted_slots = {'gcc': 10} |
219 |
219 |
220 with_adjusting = self.allocater.allocate(locked_slots, adjusted_slots) |
220 with_adjusting = self.allocater.allocate(locked_slots, adjusted_slots) |
221 without_adjusting = self.allocater.allocate(locked_slots, {}) |
221 without_adjusting = self.allocater.allocate(locked_slots, {}) |
222 |
222 |
223 expected = without_adjusting['gcc'] + 10 |
223 expected = without_adjusting['gcc'] |
224 actual = with_adjusting['gcc'] |
224 actual = with_adjusting['gcc'] |
225 |
225 |
226 self.failUnlessEqual(expected, actual) |
226 self.failUnless(actual > expected) |