'If the token count passed to L{DeferredSemaphore} is less than one
then L{ValueError} is raised.'

def test_semaphoreInvalidTokens(self):

    self.assertRaises(ValueError, defer.DeferredSemaphore, 0)
    self.assertRaises(ValueError, defer.DeferredSemaphore, (-1))
