def test_str_type(self): class Option(StringOption): metadata = 'name' cli = ['--name'] click_option = ClickObjectOption(Option) self.assertEqual(click_option.type, click.STRING)