Ejemplo n.º 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"))
Ejemplo n.º 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"))
Ejemplo n.º 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"))
Ejemplo n.º 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"))