def test_choices_with_min_max(self):
    self.assertRaises(ValueError, types.Integer, min=10, choices=[50, 60])
    self.assertRaises(ValueError, types.Integer, max=100, choices=[50, 60])
    self.assertRaises(ValueError, types.Integer, min=10, max=100, choices=[50, 60])
def test_choices_with_min_max(self):
    self.assertRaises(ValueError, types.Integer, min=10, choices=[50, 60])
    self.assertRaises(ValueError, types.Integer, max=100, choices=[50, 60])
    self.assertRaises(ValueError, types.Integer, min=10, max=100, choices=[50, 60])