'Enumeration should refuse item addition.'

def test_add_item(self):

    for (enumtype, params) in self.valid_values.items():
        index = len(params['keys'])
        self.failUnlessRaises(enum.EnumImmutableError, enumtype.__setitem__, index, 'bogus')
