'An EnumValue should have its associated enumtype.'

def test_value_enumtype(self):

    for (enumtype, params) in self.valid_values.items():
        for (key, instance) in params['values'].items():
            self.failUnlessEqual(enumtype, instance.enumtype)
