| 283 | self.assertGreater(cls3_cfg.index(defaults_str), cls3_cfg.index(enum_choices_str)) |
| 284 | |
| 285 | class MyConf4(Configurable): |
| 286 | an_enum = FuzzyEnum( |
| 287 | "Choice1 choice2".split(), |
| 288 | allow_none=True, |
| 289 | default_value="choice2", |
| 290 | help="Many choices.", |
| 291 | ).tag(config=True) |
| 292 | |
| 293 | enum_choices_str = "Choices: any case-insensitive prefix of ['Choice1', 'choice2']" |
| 294 |