def test_gen_choice_8(self):

        choices = ()

        with self.assertRaises(ValueError):
            gen_choice(choices)
Create an InvalidField exception.
dataset/ETHPy150Open omaciel/fauxfactory/tests/test_choices.py/TestChoices.test_gen_choice_8--crossover with--dataset/ETHPy150Open OpenKMIP/PyKMIP/kmip/core/exceptions.py/InvalidField.__init__