def test_type_accessor(self, cipher): assert cipher._type == _type_from_name(cipher.name)
def test_type_accessor(self): assert self.cipher._type == _type_from_name(self.cipher.name)