'``RestartOnFailure.__init__`` raises ``ValueError`` if the specified
maximum retry count is 0.'

def test_maximum_retry_count_not_zero(self):

    self.assertRaises(InvariantException, RestartOnFailure, maximum_retry_count=0)
