'EnumValue should export its sequence index.'

def test_index_equal(self):

    for (enumtype, params) in self.valid_values.items():
        for (i, key) in enumerate(params['keys']):
            instance = params['values'][key]
            self.failUnlessEqual(i, instance.index)
