'Enumeration should refuse attribute addition.'

def test_add_attribute(self):

    for (enumtype, params) in self.valid_values.items():
        self.failUnlessRaises(enum.EnumImmutableError, setattr, enumtype, 'bogus', 'bogus')
