Пример #1
0
 def test_nextSlowSlave_OnlyFastAvail(self):
     """Test that _nextSlowSlave returns a fast slave if no slow slaves are
     available."""
     slave = _nextSlowSlave(self.builder, self.fast_slaves)
     self.assert_(slave.slave.slavename.startswith("fast"))
Пример #2
0
 def test_nextSlowSlave_OnlyFastAvail(self):
     """Test that _nextSlowSlave returns a fast slave if no slow slaves are
     available."""
     slave = _nextSlowSlave(self.builder, self.fast_slaves)
     self.assert_(slave.slave.slavename.startswith("fast"))
Пример #3
0
 def test_nextSlowSlave(self):
     """Test that _nextSlowSlave returns a slow slave if one is available."""
     slave = _nextSlowSlave(self.builder, self.slaves)
     self.assert_(slave.slave.slavename.startswith("slow"))
Пример #4
0
 def test_nextSlowSlave(self):
     """Test that _nextSlowSlave returns a slow slave if one is available."""
     slave = _nextSlowSlave(self.builder, self.slaves)
     self.assert_(slave.slave.slavename.startswith("slow"))