def setUp(self): self.handler = Handler() self.handler.register_converter(self.from_type, self.to_types, dummy_converter)